Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] git-apply --stat: show new filename for rename/copy patch.
[gitweb.git]
/
apply.c
diff --git
a/apply.c
b/apply.c
index af97537522e8e9d9be7baa84a0b8b7063212e3c5..53a9bb626ed895620812b7df1a51e070938aba70 100644
(file)
--- a/
apply.c
+++ b/
apply.c
@@
-723,11
+723,11
@@
const char minuses[]= "---------------------------------------------------------
static void show_stats(struct patch *patch)
{
- char *name = patch->
old
_name;
+ char *name = patch->
new
_name;
int len, max, add, del, total;
if (!name)
- name = patch->
new
_name;
+ name = patch->
old
_name;
/*
* "scale" the filename