Re: [STGIT PATCH] replace "git repo-config" usage by "git config"
- From
Karl Hasselström <kha@treskal.com>
- Date
- Jan 24, 2008, 18:08 UTC
- Message-ID
- <20080124180835.GA28723@diana.vm.bytemark.co.uk>
- In-Reply-To
- <b0943d9e0801240731q856925al267d81548f5e2091@mail.gmail.com>
On 2008-01-24 15:31:40 +0000, Catalin Marinas wrote:
> Another thing, can the '--keep' option be added? Can it work with > the new structure? I use it quite often as I make some minor > modification and I'd like to pop patches without affecting the local > changes.
As is, it works out of the box as long as your local changes are in files not touched by the command.
Making it work in other cases as well should be doable -- behind the scenes, we'd save the local changes much like a patch, and try to apply it at the end. (In fact, we should probably not create this "patch" until git-read-tree tells us it can't do its job due to local changes.)
Adding the --keep flag once would make it available for all commands using the new infrastructure.
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle