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

Re: "stgit clean" has problems with removed generated files

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 24, 2006, 08:20 UTC
Message-ID
<ek69tf$bp9$1@sea.gmane.org>
In-Reply-To
<20061123192831.GL5443@nan92-1-81-57-214-146.fbx.proxad.net>
Yann Dirson wrote:
Show 15 quoted lines
> On Thu, Nov 23, 2006 at 04:33:42PM +0000, Catalin Marinas wrote:
>> >fatal: Untracked working tree file 'include/asm-arm/constants.h' would be  
>> >overwritten by merge.
>> 
>> That's a git error and I think it is the correct behaviour. It is
>> safer to notify that a local file is overridden by a merge/switch
>> operation rather than just losing its content.
> 
> Right, I do not discuss the behaviour of git here.  But when I first
> encountered this issue, I was really wondering about what was
> happenning.  It would be really helpful in such a case, if stgit was
> able to pinpoint the precise patch which could not be popped.  It could
> also be helpful to tell when popping patches - currently it's done
> "behind my back", and I could only understand what was happenning by
> reading the code.

I think it was corrected in git, or is being corrected (meaning it is in 'next' or in 'pu'); it being relaxing "would be overwritten by merge" check for files which were, but are not, under version control.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Yann DirsonNext: Catalin Marinas
Message 4 of 5 in “"stgit clean" has problems with removed generated files”
  1. Yann DirsonNov 23, 2006
  2. Catalin MarinasNov 23, 2006
  3. Yann DirsonNov 23, 2006
  4. Jakub NarebskiNov 24, 2006
  5. Catalin MarinasDec 6, 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.