git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why patch is not showed at log?
@ 2016-09-07  8:13 KES
  2016-09-07 10:28 ` Kevin Daudt
  0 siblings, 1 reply; 2+ messages in thread
From: KES @ 2016-09-07  8:13 UTC (permalink / raw)
  To: git

I have patch:
diff --git a/t b/t
index ced22c4..992533b 100644
--- a/t
+++ b/t
@@ -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

diff --git a/t b/t
new file mode 100644
index 0000000..ced22c4
--- /dev/null
+++ b/t
@@ -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?

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Why patch is not showed at log?
  2016-09-07  8:13 Why patch is not showed at log? KES
@ 2016-09-07 10:28 ` Kevin Daudt
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Daudt @ 2016-09-07 10:28 UTC (permalink / raw)
  To: KES; +Cc: git

On Wed, Sep 07, 2016 at 11:13:09AM +0300, KES wrote:
> 
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-07 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-07  8:13 Why patch is not showed at log? KES
2016-09-07 10:28 ` Kevin Daudt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).