iFix last showing one result less than expected - notes - a console notes manager using git Err bitreich.org 70
1Log /scm/notes/log.gph bitreich.org 70
1Files /scm/notes/files.gph bitreich.org 70
1Refs /scm/notes/refs.gph bitreich.org 70
1Tags /scm/notes/tag bitreich.org 70
1LICENSE /scm/notes/file/LICENSE.gph bitreich.org 70
i--- Err bitreich.org 70
1commit 5944d7a893a61d765f0c8188ad2785c92bd18eb7 /scm/notes/commit/5944d7a893a61d765f0c8188ad2785c92bd18eb7.gph bitreich.org 70
1parent 98fa7fdc23e77524db1e3e72ca6a553636825698 /scm/notes/commit/98fa7fdc23e77524db1e3e72ca6a553636825698.gph bitreich.org 70
hAuthor: Solene Rapenne <solene@perso.pw> URL:mailto:solene@perso.pw bitreich.org 70
iDate: Thu, 9 Aug 2018 14:54:16 +0200 Err bitreich.org 70
i Err bitreich.org 70
iFix last showing one result less than expected Err bitreich.org 70
i Err bitreich.org 70
iDiffstat: Err bitreich.org 70
i M notes | 2 +- Err bitreich.org 70
i Err bitreich.org 70
i1 file changed, 1 insertion(+), 1 deletion(-) Err bitreich.org 70
i--- Err bitreich.org 70
1diff --git a/notes b/notes /scm/notes/file/notes.gph bitreich.org 70
i@@ -122,7 +122,7 @@ last() { Err bitreich.org 70
i if(seen[file]==1) { Err bitreich.org 70
i if(limit != "") { Err bitreich.org 70
i output++; Err bitreich.org 70
i- if(output < limit) { Err bitreich.org 70
i+ if(output <= limit) { Err bitreich.org 70
i printf("%20s: %s\n", date, file) Err bitreich.org 70
i } Err bitreich.org 70
i } else { Err bitreich.org 70
.
Response:
text/plain