diff options
author | Øystein Walle <oystwa@gmail.com> | 2017-09-18 19:04:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-19 12:16:28 +0900 |
commit | 417abfde3534ad51a1a47e00ed799e40e3f7b4ae (patch) | |
tree | eb25ed542b7e66906863197924077c567f5aad2c /Documentation/git-blame.txt | |
parent | RelNotes: further fixes for 2.14.2 from the master front (diff) | |
download | tgif-417abfde3534ad51a1a47e00ed799e40e3f7b4ae.tar.xz |
rev-parse: rev-parse: add --is-shallow-repository
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 'Documentation/git-blame.txt')
0 files changed, 0 insertions, 0 deletions