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

[BUG] ? - git log :/text results are strange

From
ESEugene Sajine <euguess@gmail.com>
Date
Feb 19, 2010, 21:50 UTC
Message-ID
<76c5b8581002191350h61d6d8c2jd0245c0963fcc85f@mail.gmail.com>
Hi,

When I’m executing $ git log :/fix

I expect to see commits with messages starting from word “fix” only in git.git I’m getting a list of commits where some of messages are starting from this word and some are not

as this:
$ git log :/fix
commit a525d2a41825530c01fd5eac497df0fcd82dca0b
Author: Junio C Hamano <gitster@pobox.com>
Date:   Tue Dec 8 22:16:55 2009 -0800
   fixup! rebase -i --autosquash
commit 66a357d9bac24cc9b8419c256b5e35c327d2997c
Author: Nanako Shiraishi <nanako3@lavabit.com>
Date:   Tue Dec 8 12:13:14 2009 +0900
   rebase -i --autosquash: auto-squash commits
   Teach a new option, --autosquash, to the interactive rebase.
   When the commit log message begins with "!fixup ...", and there
   is a commit whose title begins with the same ..., automatically
   modify the todo list of rebase -i so that the commit marked for
   squashing come right after the commit to be modified, and change
   the action of the moved commit from pick to squash.
   Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
   Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit 0205e72f088322a70a77643a7cd2d8b23ee07e14
Author: Michael Haggerty <mhagger@alum.mit.edu>
Date:   Mon Dec 7 10:20:59 2009 +0100
   Add a command "fixup" to rebase --interactive
   The command is like "squash", except that it discards the commit message
   of the corresponding commit.
   Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
   Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
   Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit 163f3925902446735b2f631dc44ab67882a93024
Author: Michael Haggerty <mhagger@alum.mit.edu>
Date:   Mon Dec 7 05:22:58 2009 +0100
   t3404: Use test_commit to set up test repository
   Also adjust "expected" text to reflect the file contents generated by
   test_commit, which are slightly different than those generated by the
   old code.
   Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
   Signed-off-by: Junio C Hamano gitster@pobox.com
And so on…

This is reproducible problem on Linux env git v 1.6.5.6 and in msysgit 1.6.4.msysgit.0

Thanks, Eugene

Next: Thomas Rast
Message 1 of 4 in “[BUG] ? - git log :/text results are strange”
  1. Eugene SajineFeb 19, 2010
  2. Thomas RastFeb 19, 2010
  3. Eugene SajineFeb 19, 2010
  4. Thomas RastFeb 19, 2010

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.