author | Junio C Hamano <junkio@cox.net> | |
Sun, 16 Apr 2006 09:31:11 +0000 (02:31 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 16 Apr 2006 09:31:11 +0000 (02:31 -0700) |
* master:
pager: do not fork a pager if PAGER is set to empty.
diff-options: add --patch-with-stat
diff-files --stat: do not dump core with unmerged index.
Support "git cmd --help" syntax
diff --stat: do not do its own three-dashes.
diff-tree: typefix.
GIT v1.3.0-rc4
xdiff: post-process hunks to make them consistent.
pager: do not fork a pager if PAGER is set to empty.
diff-options: add --patch-with-stat
diff-files --stat: do not dump core with unmerged index.
Support "git cmd --help" syntax
diff --stat: do not do its own three-dashes.
diff-tree: typefix.
GIT v1.3.0-rc4
xdiff: post-process hunks to make them consistent.
1 | 2 | |||
---|---|---|---|---|
git.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc git.c
index 9e29ade2b4b7b92d6eb6a4ffad56db37642a3620,140ed1873d7b5e334452cc8f8ac75a0541e32b6c..a6cfd1d8aaf13bf391c69c7f91b14fd68e0d36e9
+++ b/git.c
putchar(' ');
else
putchar('\n');
- pretty_print_commit(commit_format, commit, ~0, buf,
- LOGSIZE, abbrev);
+ pretty_print_commit(rev->commit_format, commit, ~0, buf,
+ LOGSIZE, rev->abbrev);
printf("%s\n", buf);
- if (rev->diff)
- if (do_diff) {
++ if (rev->diff) {
+ printf("---\n");
- log_tree_commit(&opt, commit);
+ log_tree_commit(rev, commit);
+ }
shown = 1;
free(commit->buffer);
commit->buffer = NULL;