diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-09-18 20:30:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-09-18 20:30:07 -0700 |
commit | e69a6f47c4e25a20170eb989a55257d0399f795b (patch) | |
tree | 4891b8d55a9d188ad695c7da5c35c3744d1909b6 /diff-no-index.c | |
parent | c4398286fa5245cf54d73f6016444179d73f140b (diff) | |
parent | a5a818ee4877e4458e8e6741a03ac3b19941d58a (diff) | |
download | git-e69a6f47c4e25a20170eb989a55257d0399f795b.tar.gz |
Merge branch 'jc/diff-prefix'
* jc/diff-prefix:
diff: vary default prefix depending on what are compared
Diffstat (limited to 'diff-no-index.c')
-rw-r--r-- | diff-no-index.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/diff-no-index.c b/diff-no-index.c index 7d68b7f1be..b60d3455da 100644 --- a/diff-no-index.c +++ b/diff-no-index.c @@ -252,6 +252,7 @@ void diff_no_index(struct rev_info *revs, if (queue_diff(&revs->diffopt, revs->diffopt.paths[0], revs->diffopt.paths[1])) exit(1); + diff_set_mnemonic_prefix(&revs->diffopt, "1/", "2/"); diffcore_std(&revs->diffopt); diff_flush(&revs->diffopt); |