Re: [PATCH] Allow passing of --directory to git-am.

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Allow passing of --directory to git-am.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:44

Simon 'corecode' Schubert [off-list ref] writes:
Junio C Hamano wrote:
quoted
Simon 'corecode' Schubert [off-list ref] writes:
quoted
You mean not storing/restoring the flags across an invocation?  No,
that's a different thing.  My patch only adds the --directory option,
it does not fix the previously existing bug.
The question is if it _introduces_ a bug that the directory given in the
initial invocation of "git am --directory=foo" is lost if an patch does
not apply and you need to manually resolve and continue.

If it does not introduce such a bug, you do not have the same issue as the
old patch.  Otherwise you have the same issue as the old patch.  The
question was if you have the same issue or you don't.  Yes?  No?
Yes, that's the issue.  In this regard it behaves bug-compatible with
the -p and -C options.
If that is the case, and assuming that propagating -C/-p would be a good
idea (which I am not sure yet), the patch I sent out earlier (which was
flawed somewhat; it should use "$git_apply_opt_extra" where it invokes the
"git apply" command) with necessary fix would serve as the basis to
implement --directory=<dir>?

Re: [PATCH] Allow passing of --directory to git-am.

From: Simon 'corecode' Schubert <hidden>
Date: 2016-06-15 22:45:44

Junio C Hamano wrote:
If that is the case, and assuming that propagating -C/-p would be a good
idea (which I am not sure yet), the patch I sent out earlier (which was
flawed somewhat; it should use "$git_apply_opt_extra" where it invokes the
"git apply" command) with necessary fix would serve as the basis to
implement --directory=<dir>?
certainly.  I'll be travelling, so don't expect anything real soon, will 
resubmit unless I forget.

-- 
   <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
   rock the past  +++  space for low €€€ NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help