summaryrefslogtreecommitdiff
path: root/t/t4132-apply-removal.sh
diff options
context:
space:
mode:
authorØystein Walle <oystwa@gmail.com>2017-09-18 19:04:29 +0200
committerJunio C Hamano <gitster@pobox.com>2017-09-19 12:16:28 +0900
commit417abfde3534ad51a1a47e00ed799e40e3f7b4ae (patch)
treeeb25ed542b7e66906863197924077c567f5aad2c /t/t4132-apply-removal.sh
parent94c9fd268d4287f6fbfef84793288479905a7e48 (diff)
downloadgit-ow/rev-parse-is-shallow-repo.tar.gz
rev-parse: rev-parse: add --is-shallow-repositoryow/rev-parse-is-shallow-repo
Running `git fetch --unshallow` on a repo that is not in fact shallow produces a fatal error message. Add a helper to rev-parse that scripters can use to determine whether a repo is shallow or not. Signed-off-by: Øystein Walle <oystwa@gmail.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4132-apply-removal.sh')
0 files changed, 0 insertions, 0 deletions