diff options
| author | Junio C Hamano <gitster@pobox.com> | 2009-02-10 21:31:08 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-02-10 21:31:08 -0800 |
| commit | 8c5514906a532f154aa0db1199f46bbdeeffb0ad (patch) | |
| tree | 1485160c77cf35751367c5966023ddcecd116154 /git-submodule.sh | |
| parent | 6e5d7ddc490fc7fdf46a5d0af35aa6fd64ae4a96 (diff) | |
| parent | 496917b721adae11e596cd44b13cb8a49c388de7 (diff) | |
| download | git-8c5514906a532f154aa0db1199f46bbdeeffb0ad.tar.gz | |
Merge branch 'js/git-submodule-trailing-slash'
* js/git-submodule-trailing-slash:
submodule: warn about non-submodules
Let ls-files strip trailing slashes in submodules' paths
Diffstat (limited to 'git-submodule.sh')
| -rwxr-xr-x | git-submodule.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index 2f47e065fe..6cc2d334c0 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -59,7 +59,7 @@ resolve_relative_url () # module_list() { - git ls-files --stage -- "$@" | grep '^160000 ' + git ls-files --error-unmatch --stage -- "$@" | grep '^160000 ' } # |
