diff options
author | Luke Shumaker <lukeshu@datawire.io> | 2021-04-27 21:17:40 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-28 07:47:18 (GMT) |
commit | cbb5de8b83f3abde8f9b37b0048bc00344b6709b (patch) | |
tree | 14484aa51ca577d204e235f1cf933b448ad077f4 /graph.c | |
parent | e4f8baa88a0b294e1e2d91728e728e14574d1d87 (diff) | |
download | git-cbb5de8b83f3abde8f9b37b0048bc00344b6709b.zip git-cbb5de8b83f3abde8f9b37b0048bc00344b6709b.tar.gz git-cbb5de8b83f3abde8f9b37b0048bc00344b6709b.tar.bz2 |
subtree: remove duplicate check
`cmd_add` starts with a check that the directory doesn't yet exist.
However, the `main` function performs the exact same check before
calling `cmd_add`. So remove the check from `cmd_add`.
Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'graph.c')
0 files changed, 0 insertions, 0 deletions