Re: add negative -p to git-am, Re: Merge git-gui into 1.5.0 ?
- From
- Michael S. Tsirkin <mst@mellanox.co.il>
- Date
- Feb 12, 2007, 11:59 UTC
- Message-ID
- <20070212115943.GA15526@mellanox.co.il>
- In-Reply-To
- <Pine.LNX.4.63.0702121250270.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Show 13 quoted lines
> Quoting Johannes Schindelin <Johannes.Schindelin@gmx.de>: > Subject: add negative -p to git-am, Re: Merge git-gui into 1.5.0 ? > > Hi, > > On Mon, 12 Feb 2007, Michael S. Tsirkin wrote: > > > Make git-am support "negative strip-level" patches by running it in a > > subdirectory. > > I'd rather hide this behind a command line switch to git-am, since it _is_ > a feature that you do not have to cd to the repo root when git-am'ing > correct patches.
Maybe it *could* be a nice feature, but it does *not* currently work, so this patch is not breaking anything:
$git-am mbox fatal: Not a git repository: '.git' You need to run this command from the toplevel of the working tree.
And I think git-am is really similiar to git-apply functionally, so it should work in a similiar manner.
-- MST