am: read from the right mailbox when started from a subdirectory
authorJunio C Hamano <gitster@pobox.com>
Tue, 4 Mar 2008 08:25:04 +0000 (00:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Mar 2008 18:52:56 +0000 (10:52 -0800)
commitbb034f839a396cf0660024a59bbff61f8ef0c5af
treeacfd0231258b4f300848f92ca0fbf73795b69cd3
parent79b1138e7894ea048008f6b99908f5cd36e94949
am: read from the right mailbox when started from a subdirectory

An earlier commit c149184 (allow git-am to run in a subdirectory) taught
git-am to start from a subdirectory by going up to the root of the work
tree byitself, but it did not adjust the path to read the mbox from when
it did so.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh
t/t4150-am-subdir.sh [new file with mode: 0755]