diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-24 16:49:24 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-24 16:49:24 -0700 |
commit | a5c8a98ca7e978c334e956df7ae2165c75c494da (patch) | |
tree | df77e4b7b652a72f6bb862e81a55f95692eda55a /builtin-diff.c | |
parent | 6858d494926437ad7b7e9199ea39953eb90c7bab (diff) | |
parent | 84c667ff97da2a3864ef7952b9f438d133ce35ef (diff) | |
download | git-a5c8a98ca7e978c334e956df7ae2165c75c494da.tar.gz git-a5c8a98ca7e978c334e956df7ae2165c75c494da.tar.xz |
Merge branch 'master' into sp/reflog
* master: (90 commits)
fetch.c: remove an unused variable and dead code.
Clean up sha1 file writing
Builtin git-cat-file
builtin format-patch: squelch content-type for 7-bit ASCII
CMIT_FMT_EMAIL: Q-encode Subject: and display-name part of From: fields.
add more informative error messages to git-mktag
remove the artificial restriction tagsize < 8kb
git-rebase: use canonical A..B syntax to format-patch
git-format-patch: now built-in.
fmt-patch: Support --attach
fmt-patch: understand old <his> notation
Teach fmt-patch about --keep-subject
Teach fmt-patch about --numbered
fmt-patch: implement -o <dir>
fmt-patch: output file names to stdout
Teach fmt-patch to write individual files.
built-in tar-tree and remote tar-tree
Builtin git-diff-files, git-diff-index, git-diff-stages, and git-diff-tree.
Builtin git-show-branch.
Builtin git-apply.
...
Diffstat (limited to 'builtin-diff.c')
-rw-r--r-- | builtin-diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-diff.c b/builtin-diff.c index b0c9cade0..27451d561 100644 --- a/builtin-diff.c +++ b/builtin-diff.c @@ -122,7 +122,7 @@ static int builtin_diff_b_f(struct rev_info *revs, stuff_change(&revs->diffopt, canon_mode(st.st_mode), canon_mode(st.st_mode), blob[0].sha1, null_sha1, - blob[0].name, path); + path, path); diffcore_std(&revs->diffopt); diff_flush(&revs->diffopt); return 0; @@ -233,7 +233,7 @@ static int builtin_diff_combined(struct rev_info *revs, return 0; } -static void add_head(struct rev_info *revs) +void add_head(struct rev_info *revs) { unsigned char sha1[20]; struct object *obj; |