diff options
author | Fredrik Gustafsson <iveqy@iveqy.com> | 2013-07-02 23:42:56 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-03 10:33:32 -0700 |
commit | 275cd184d52b5b81cb89e4ec33e540fb2ae61c1f (patch) | |
tree | bbc8d455ea6b67d31c4c2079eada1e7dcf9d927f /t/t5571-pre-push-hook.sh | |
parent | Git 1.8.3 (diff) | |
download | tgif-275cd184d52b5b81cb89e4ec33e540fb2ae61c1f.tar.xz |
Add --depth to submodule update/add
Add the --depth option to the add and update commands of "git submodule",
which is then passed on to the clone command. This is useful when the
submodule(s) are huge and you're not really interested in anything but
the latest commit.
Tests are added and some indention adjustments were made to conform to the
rest of the testfile on "submodule update can handle symbolic links in pwd".
Signed-off-by: Fredrik Gustafsson <iveqy@iveqy.com>
Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5571-pre-push-hook.sh')
0 files changed, 0 insertions, 0 deletions