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

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

From
Matt McClure <matthewlmcclure@gmail.com>
Date
Jun 4, 2013, 17:26 UTC
Message-ID
<CAJELnLFy_by_7qmEqAyaNxV128ASN5VYoewwftWEt3ege3++zA@mail.gmail.com>
In-Reply-To
<20130604155605.GA15953@sigill.intra.peff.net>
On Tue, Jun 4, 2013 at 11:56 AM, Jeff King <peff@peff.net> wrote:
Show 10 quoted lines
>> 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)
>>     ...
>
> Your problem is not the presence of "--merges" here, but that you forgot
> the necessary "file" argument. Try "git blame --merges foo.c".
Oops. Thanks.
-- 
Matt McClure
http://matthewlmcclure.com
http://www.mapmyfitness.com/profile/matthewlmcclure
Previous: Jeff KingNext: Junio C Hamano
Message 3 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.