git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
Date
Dec 4, 2008, 23:41 UTC
Message-ID
<49386ABE.2050404@fs.ei.tum.de>
In-Reply-To
<7v7i6fd0zt.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 13 quoted lines
> Simon 'corecode' Schubert <corecode@fs.ei.tum.de> writes:
> 
>> 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.

-- 
   <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   / \
Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 13 in “Allow passing of --directory to git-am.”
  1. Allow passing of --directory to git-am.Simon 'corecode' Schubert, Dec 4, 2008
  2. Jeff KingDec 4, 2008
  3. Junio C HamanoDec 4, 2008
  4. Simon 'corecode' SchubertDec 4, 2008
  5. Junio C HamanoDec 4, 2008
  6. Junio C HamanoDec 4, 2008
  7. git-am: propagate -C/-p as wellJunio C Hamano, Dec 4, 2008
  8. Simon 'corecode' SchubertDec 4, 2008
  9. Junio C HamanoDec 5, 2008
  10. Simon 'corecode' SchubertDec 5, 2008
  11. Jakub NarebskiDec 4, 2008
  12. Simon 'corecode' SchubertDec 4, 2008
  13. Jakub NarebskiDec 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.