]> git.ipfire.org Git - thirdparty/git.git/commit - git-submodule.sh
submodule update: align reporting path for custom command execution
authorStefan Beller <sbeller@google.com>
Wed, 30 Mar 2016 01:27:44 +0000 (18:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Mar 2016 20:09:36 +0000 (13:09 -0700)
commitb08238ac3f5e4033d26824afc65e7397fbb61847
treea523e8ec86c3c743d8b608488c1e5e35c480d668
parent10450cf72b51baf3bac6a779fb4e47241af7ae5e
submodule update: align reporting path for custom command execution

In the predefined actions (merge, rebase, none, checkout), we use
the display path, which is relative to the current working directory.
Also use the display path when running a custom command.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
t/t7406-submodule-update.sh