summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ee542ee)
raw | patch | inline | side by side (parent: ee542ee)
author | Jeff King <peff@peff.net> | |
Sat, 1 Mar 2008 06:22:55 +0000 (01:22 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 1 Mar 2008 09:31:18 +0000 (01:31 -0800) |
We just move to the top of the tree and proceed. This
shouldn't break any existing callers, since the behavior was
previously disallowed.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
shouldn't break any existing callers, since the behavior was
previously disallowed.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh | patch | blob | history |
diff --git a/git-am.sh b/git-am.sh
index 2ecebc45a93784f1ca377941cd9b96569b3ade1c..a2c6fea47af1e4616bc549f26f3fe1b364841abe 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
#
# Copyright (c) 2005, 2006 Junio C Hamano
+SUBDIRECTORY_OK=Yes
OPTIONS_KEEPDASHDASH=
OPTIONS_SPEC="\
git-am [options] <mbox>|<Maildir>...
. git-sh-setup
set_reflog_action am
require_work_tree
+cd_to_toplevel
git var GIT_COMMITTER_IDENT >/dev/null || exit