git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Why patch is not showed at log?

From
KKES <kes-kes@yandex.ru>
Date
Sep 7, 2016, 08:13 UTC
Message-ID
<46301473235989@web8j.yandex.ru>
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?
Next: Kevin Daudt
Message 1 of 2 in “Why patch is not showed at log?”
  1. KESSep 7, 2016
  2. Kevin DaudtSep 7, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.