Skip to contentSkip to conversation

Why patch is not showed at log?

PATCH KES 2 participants 2 messages Sep 7, 2016

lore
Share & tools
lore

KES

author
#0 lore raw

I have patch:

t +1 -1
index ced22c4..992533b 100644
@@ -1,2 +1,2 @@
 asdf
-asdf
\ No newline at end of file
+asdf

When I commit it I do not see it at log:

commit 1efee9908a734c40194ffc07e7793afd2e386fbc

Author: x
Date:   Wed Sep 7 11:09:04 2016 +0300

asdf

commit 4f429665850cb929f73f1463bedd978dd8b68009

Author: x
Date:   Wed Sep 7 11:05:20 2016 +0300

asdf

t new file +2 -0
new file mode 100644
index 0000000..ced22c4
@@ -0,0 +1,2 @@
+asdf
+asdf
\ No newline at end of file

Why I do not see changes at log when 'new line' was added at the end of file?

#1 lore raw
Quoted 2 lines · KES

Why I do not see changes at log when 'new line' was added at the end of file?

I'm not sure what you exactly mean, but do you want to see the actual change the patch introduces in the log output? In that case, you can use git log --patch to include the diff.

If not, could you please explain what you mean?

Kevin