projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7668e
)
show-diff: don't print out the full "ce" format for unmerged files
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 27 Apr 2005 00:37:11 +0000
(17:37 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 27 Apr 2005 00:37:11 +0000
(17:37 -0700)
It really doesn't make sense, since there are potentially _many_ different
cache entries for an unmerged file. So just do the "U pathname" thing.
show-diff.c
patch
|
blob
|
history
diff --git
a/show-diff.c
b/show-diff.c
index
a73e8e8
..
4557bd8
100644
(file)
--- a/
show-diff.c
+++ b/
show-diff.c
@@
-72,7
+72,7
@@
int main(int argc, char **argv)
continue;
if (ce_stage(ce)) {
-
show_file("U", ce
);
+
printf("U %s%c", ce->name, line_termination
);
while (i < entries &&
!strcmp(ce->name, active_cache[i]->name))