projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
5bfd536
7b88176
)
Merge branch 'mg/pretty-magic-space'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 22 Jun 2010 16:45:22 +0000
(09:45 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 22 Jun 2010 16:45:22 +0000
(09:45 -0700)
* mg/pretty-magic-space:
pretty: Introduce ' ' modifier to add space if non-empty
Conflicts:
pretty.c
1
2
pretty.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
pretty.c
index 4b85373ba6797069eefa96a63141438bd5de8803,9e845dcb0b7ffca8794b555508b27fe291a0b529..f85444b27d4815547f7cef542291b1f6616f77d5
---
1
/
pretty.c
---
2
/
pretty.c
+++ b/
pretty.c
@@@
-941,7
-941,8
+941,8
@@@
static size_t format_commit_item(struc
enum {
NO_MAGIC,
ADD_LF_BEFORE_NON_EMPTY,
- DEL_LF_BEFORE_EMPTY
+ DEL_LF_BEFORE_EMPTY
,
- ADD_SP_BEFORE_NON_EMPTY,
++ ADD_SP_BEFORE_NON_EMPTY
} magic = NO_MAGIC;
switch (placeholder[0]) {