Re: stgit: lost all my patches again
- From
Karl Hasselström <kha@treskal.com>
- Date
- Oct 4, 2007, 08:33 UTC
- Message-ID
- <20071004083304.GB17778@diana.vm.bytemark.co.uk>
- In-Reply-To
- <9e4733910710032229m38fb4e47k5aa0b2b2e0eb2251@mail.gmail.com>
On 2007-10-04 01:29:17 -0400, Jon Smirl wrote:
> for some reason the refresh from that command didn't close. Then stg > pushed all the patches back after the edit and they got included > into that patch.
That's really weird. As far as I know there isn't a concept of "closed" patches in StGit -- there's no need, because they're always closed!
> 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 plan to do some StGit hacking this weekend. I guess subdirectory safeness ought to be at the top of my list ...
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle