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

RE: Recording the current branch on each commit?

From
Max Kirillov <max@max630.net>
Date
Apr 28, 2014, 06:42 UTC
Message-ID
<20140427234205.96eec638b311907e2368f42b42021fd8.e03a1e7076.wbe@email02.secureserver.net>
Show 5 quoted lines
> Personally, I am _strongly_ opposed.  How I name and juggle my private
> branches is nobody else's business in a distributed version control
> system.
> 
> They are private.  My personal workflow.  Not part of a commit.

Mercurial inherits the branch label from previous commit, unless it's specified by user, I think this could be quite reasonable behavior. (if make them at all, I don't think this specific branch label feature should be implemented in git core, but rather there should be a way to extend git so that it makes them)

-- 
Max
Message 1 of 1 in “RE: Recording the current branch on each commit?”
  1. Max KirillovApr 28, 2014

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.