projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] git-apply --stat: show new filename for rename/copy patch.
[git.git]
/
apply.c
diff --git
a/apply.c
b/apply.c
index
af97537
..
53a9bb6
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