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

Re: Locking a branch

From
CMCatalin Marinas <catalin.marinas@arm.com>
Date
May 8, 2006, 10:45 UTC
Message-ID
<tnxzmhspzg2.fsf@arm.com>
In-Reply-To
<1146970243.24434.77.camel@dv>
Pavel Roskin <proski@gnu.org> wrote:
Show 6 quoted lines
> I see there is an active discussion about branch attributes.  It
> would be nice to have an attribute to prevent git from changing the
> branch head in any way.  The reason is that it interferes with StGIT
> on StGIT managed branches.  If StGIT is fine with the change, it
> would remove or override the lock temporarily.  StGIT could also
> unlock the branch permanently if there are no applied patches.

I'm fine with this. At the moment, StGIT does extra checking before some of the commands to ensure that HEAD is the same as the top of the stack (i.e. no commits were generated outside stg commands). While I'll probably still keep this check, the addition would be useful for people mixing GIT and StGIT commands (I personally try to stay with StGIT commands as much as possible).

-- 
Catalin
Previous: Pavel Roskin
Message 2 of 2 in “Locking a branch”
  1. Pavel RoskinMay 7, 2006
  2. Catalin MarinasMay 8, 2006

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.