summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 15:58:15 -0700
committerJunio C Hamano <gitster@pobox.com>2018-05-18 06:19:44 +0900
commit800a4ab399e954b8970897076b327bf1cf18c0ac (patch)
tree76cb51d24eb428a317fc8281fa09f55ba94330d2 /commit.c
parent9fa2e5e8534519f07d1a93878fde6341fb012a6e (diff)
push: check for errors earlier
Move the error checking for using the "--mirror", "--all", and "--tags" options earlier and explicitly check for the presence of the flags instead of checking for a side-effect of the flag. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions