author | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Aug 2011 19:33:34 +0000 (12:33 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Aug 2011 19:33:34 +0000 (12:33 -0700) |
* jl/submodule-update-quiet:
submodule: update and add must honor --quiet flag
submodule: update and add must honor --quiet flag
1 | 2 | |||
---|---|---|---|---|
git-submodule.sh | patch | | diff1 | | diff2 | | blob | history |
t/t7400-submodule-basic.sh | patch | | diff1 | | diff2 | | blob | history |
diff --cc git-submodule.sh
index bc1d3fa663a5eb39dd96f6ad2ca17437073ceb0a,11eab508024037c92daab0af776579e4545a143e..f46862f61b48a970f6ec24a9ae7624905ba3013a
--- 1/git-submodule.sh
--- 2/git-submodule.sh
+++ b/git-submodule.sh
if test -n "$reference"
then
- git-clone "$reference" -n "$url" "$path"
+ git-clone $quiet "$reference" -n "$url" "$path"
else
- git-clone -n "$url" "$path"
+ git-clone $quiet -n "$url" "$path"
fi ||
- die "Clone of '$url' into submodule path '$path' failed"
+ die "$(eval_gettext "Clone of '\$url' into submodule path '\$path' failed")"
}
#
diff --cc t/t7400-submodule-basic.sh
Simple merge