Introduction
Introduction Statistics Contact Development Disclaimer Help
tconsistency for messages for special-case in diffstat - stagit - static git pa…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 2f8595e786809234d66d8abca519e39f6b1d701a
parent f63edd593dfcaa84b30958d845fa85eaffc664b0
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 7 May 2016 14:29:39 +0200
consistency for messages for special-case in diffstat
Diffstat:
M stagit.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -125,7 +125,7 @@ commitinfo_getstats(struct commitinfo *ci)
delta = git_patch_get_delta(patch);
- /* check binary data */
+ /* skip stats for binary data */
if (delta->flags & GIT_DIFF_FLAG_BINARY)
continue;
t@@ -453,7 +453,7 @@ printshowfile(FILE *fp, struct commitinfo *ci)
ci->ndeltas > 1000 ||
ci->addcount > 100000 ||
ci->delcount > 100000) {
- fprintf(fp, "(diff is too large, output suppressed)");
+ fputs("Diff is too large, output suppressed.\n", fp);
return;
}
t@@ -504,7 +504,7 @@ printshowfile(FILE *fp, struct commitinfo *ci)
/* check binary data */
if (delta->flags & GIT_DIFF_FLAG_BINARY) {
- fputs("Binary files differ\n", fp);
+ fputs("Binary files differ.\n", fp);
continue;
}
t@@ -733,7 +733,7 @@ writeblob(git_object *obj, const char *fpath, const char *…
fputs("</p><hr/>", fp);
if (git_blob_is_binary((git_blob *)obj)) {
- fputs("<p>Binary file</p>\n", fp);
+ fputs("<p>Binary file.</p>\n", fp);
} else {
lc = writeblobhtml(fp, (git_blob *)obj);
if (ferror(fp))
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.