]> git.ipfire.org Git - thirdparty/git.git/commit - git-am.sh
git-am: add --directory=<dir> option
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 Jan 2009 06:21:48 +0000 (22:21 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jan 2009 10:26:01 +0000 (02:26 -0800)
commitb47dfe9e9c86be97fc07c4c04e26a303730f76c6
treeac70929812c01e40e797abf3c53cbf13bc53ccdc
parentd727f676ad9f03c2b2a11ea68a2c6242ca02fa10
git-am: add --directory=<dir> option

Thanks to a200337 (git-am: propagate -C<n>, -p<n> options as well,
2008-12-04) and commits around it, "git am" is equipped to correctly
propagate the command line flags such as -C/-p/-whitespace across a patch
failure and restart.

It is trivial to support --directory option now, resurrecting previous
attempts by Kevin and Simon.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt
git-am.sh
t/t4252-am-options.sh
t/t4252/am-test-5-1 [new file with mode: 0644]
t/t4252/am-test-5-2 [new file with mode: 0644]