summaryrefslogtreecommitdiff
path: root/builtin-diff.c
Commit message (Collapse)AuthorAgeFilesLines
* builtin-diff: fix comparison between two blobs.Junio C Hamano2006-05-151-3/+5
| | | | | | | The code forgot that setup_revisions() leaves parsed object names in reverse in the list. Signed-off-by: Junio C Hamano <junkio@cox.net>
* Sparse fix for builtin-diffPeter Hagervall2006-05-071-2/+1
| | | | | | | | | You gotta love sparse: builtin-diff.c:88:4: error: Just how const do you want this type to be? Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
* Merge branch 'jc/diff'Junio C Hamano2006-05-031-2/+2
| | | | | | | | * jc/diff: builtin-diff: call it "git-diff", really. builtin-diff.c: die() formatting type fix. built-in diff: assorted updates. built-in diff.
* builtin-diff.c: die() formatting type fix.Junio C Hamano2006-04-301-1/+1
| | | | Signed-off-by: Junio C Hamano <junkio@cox.net>
* built-in diff: assorted updates.Junio C Hamano2006-04-291-9/+46
| | | | | | | | | | | | | | | | "git diff(n)" without --base, --ours, etc. defaults to --cc, which usually is the same as -p unless you are in the middle of a conflicted merge, just like the shell script version. "git diff(n) blobA blobB path" complains and dies. "git diff(n) tree0 tree1 tree2...treeN" does combined diff that shows a merge of tree1..treeN to result in tree0. Giving "-c" option to any command that defaults to "--cc" turns off dense-combined flag. Signed-off-by: Junio C Hamano <junkio@cox.net>
* built-in diff.Junio C Hamano2006-04-281-0/+332
This starts to replace the shell script version of "git diff". Signed-off-by: Junio C Hamano <junkio@cox.net>