Re: stgit: lost all my patches again
- From
David Brown <git@davidb.org>
- Date
- Oct 4, 2007, 15:45 UTC
- Message-ID
- <20071004154508.GA15424@old.davidb.org>
- In-Reply-To
- <20071004083304.GB17778@diana.vm.bytemark.co.uk>
On Thu, Oct 04, 2007 at 10:33:04AM +0200, Karl Hasselström wrote:
Show 6 quoted lines
>> I did the 'stg refresh' from a directory that was not being tracked >> by git. It is in the .gitignore list. This appears to be the root of >> the problem. > >Mmmph. This is not the only StGit command that's apparently not safe >to run from a subdirectory. See e.g. https://gna.org/bugs/?9986.
I get an "Error: This item is private" from that page, so I'm not sure what that is.
Just yesterday, I had 'stg push' empty out my patches when I ran it from a subdirectory. Fortunately, in this case, the old versions were in the log, but I can imagine someone less familiar with what git and stgit are doing not knowing how to recover this.
David