diff options
| author | Junio C Hamano <gitster@pobox.com> | 2010-06-13 11:21:49 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-06-13 11:21:49 -0700 |
| commit | 08b56871ff7ade47310461cf7f6f4f8e72200c60 (patch) | |
| tree | a0743607c6ada22ce4e4f79061046e94219632c6 /git-submodule.sh | |
| parent | 534930807c230436a2b3f4891df810af0b8c0353 (diff) | |
| parent | f030c96d8643fa0a1a9b2bd9c2f36a77721fb61f (diff) | |
| download | git-08b56871ff7ade47310461cf7f6f4f8e72200c60.tar.xz | |
Merge branch 'ab/submodule-foreach-toplevel'
* ab/submodule-foreach-toplevel:
git-submodule foreach: Add $toplevel variable
Diffstat (limited to 'git-submodule.sh')
| -rwxr-xr-x | git-submodule.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index 8175cb279d..8c562a72e6 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -271,6 +271,8 @@ cmd_foreach() shift done + toplevel=$(pwd) + module_list | while read mode sha1 stage path do |
