Code

Merge branch 'mg/pretty-magic-space'
authorJunio C Hamano <gitster@pobox.com>
Tue, 22 Jun 2010 16:45:22 +0000 (09:45 -0700)
committerJunio 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

diff --cc pretty.c
index 4b85373ba6797069eefa96a63141438bd5de8803,9e845dcb0b7ffca8794b555508b27fe291a0b529..f85444b27d4815547f7cef542291b1f6616f77d5
+++ 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]) {