summaryrefslogtreecommitdiff
path: root/exec-cmd.h
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-05-16 15:58:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-18 06:19:44 +0900
commit800a4ab399e954b8970897076b327bf1cf18c0ac (patch)
tree76cb51d24eb428a317fc8281fa09f55ba94330d2 /exec-cmd.h
parentremote: convert match_explicit_refs to take a struct refspec (diff)
downloadtgif-800a4ab399e954b8970897076b327bf1cf18c0ac.tar.xz
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 'exec-cmd.h')
0 files changed, 0 insertions, 0 deletions