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

Re: [Feature request] Give non-unique names to commits for grouping

From
MFMartin Fick <mfick@codeaurora.org>
Date
Mar 11, 2020, 16:00 UTC
Message-ID
<2001043.V3P9HlvaID@mfick-lnx>
In-Reply-To
<CAGa6KtSgGOLVjHdubwRW=Bvnjnp2PoP7jJ5_NxNWGFLrVYT9SA@mail.gmail.com>
On Wednesday, March 11, 2020 1:16:09 AM MDT Christos Pappas wrote:
Show 11 quoted lines
> I suggest that we should have the option to mark each commit with a
> category name, that is not necessarily unique (like 'tags') so we
> could have commit groups.
> For example we could:
> git mark {commit_id} {name}
> 
> Then we could give special functionality to some commands based on
> those "marks".
> For example if we had marked a few commits with the name 'fix_typo'
> git log --mark fix_typo. Show all the commits marked with 'fix_typo'
> git blame --mark fix_typo Run git blame but ignore commits with 'fix_typo'
Perhaps git notes could be used to do something like this?
-Martin
-- 
The Qualcomm Innovation Center, Inc. is a member of Code 
Aurora Forum, hosted by The Linux Foundation
Previous: Konstantin TokarevNext: Christos Pappas
Message 3 of 7 in “[Feature request] Give non-unique names to commits for grouping”
  1. Christos PappasMar 10, 2020
  2. Konstantin TokarevMar 10, 2020
  3. Martin FickMar 11, 2020
  4. Christos PappasMar 11, 2020
  5. Martin FickMar 11, 2020
  6. Christos PappasMar 11, 2020
  7. Junio C HamanoMar 11, 2020

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.