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

Can `git blame` show the date that each line was merged?

From
Matt McClure <matthewlmcclure@gmail.com>
Date
Jun 4, 2013, 13:39 UTC
Message-ID
<CAJELnLEiK1C9PeimSwDoJoy=wFbFF0+KoK3jhXSAV4b2DsBKqw@mail.gmail.com>

Can `git blame` show the date that each line was merged to the current branch rather than the date it was committed?

Aside: in some trial and error I notice this oddity:
    $ git blame --merges
    usage: git blame [options] [rev-opts] [rev] [--] file
        [rev-opts] are documented in git-rev-list(1)
    ...
    $ git help rev-list | grep -F -e --merges
                        [ --merges ]
           --merges
               --min-parents=2 is the same as --merges.
--max-parents=0 gives all
-- 
Matt McClure
http://matthewlmcclure.com
http://www.mapmyfitness.com/profile/matthewlmcclure
Next: Jeff King
Message 1 of 5 in “Can `git blame` show the date that each line was merged?”
  1. Matt McClureJun 4, 2013
  2. Jeff KingJun 4, 2013
  3. Matt McClureJun 4, 2013
  4. Junio C HamanoJun 4, 2013
  5. Jeff KingJun 4, 2013

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.