summaryrefslogtreecommitdiff
path: root/transport.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-04-28 15:50:04 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-28 15:50:04 -0700
commit5b6864ca445e606bdd6dae607d3ee5f410da66fa (patch)
tree678130275ab282b480468163def1419fa42eb76b /transport.h
parentMerge branch 'jt/avoid-prefetch-when-able-in-diff' (diff)
parenttransport-helper: new method reject_atomic_push() (diff)
downloadtgif-5b6864ca445e606bdd6dae607d3ee5f410da66fa.tar.xz
Merge branch 'jx/atomic-push'
"git push --atomic" used to show failures for refs that weren't even pushed, which has been corrected. * jx/atomic-push: transport-helper: new method reject_atomic_push() transport-helper: mark failure for atomic push send-pack: mark failure of atomic push properly t5543: never report what we do not push send-pack: fix inconsistent porcelain output
Diffstat (limited to 'transport.h')
-rw-r--r--transport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/transport.h b/transport.h
index e0131daab9..4298c855be 100644
--- a/transport.h
+++ b/transport.h
@@ -265,4 +265,7 @@ int transport_refs_pushed(struct ref *ref);
void transport_print_push_status(const char *dest, struct ref *refs,
int verbose, int porcelain, unsigned int *reject_reasons);
+/* common method used by transport-helper.c and send-pack.c */
+void reject_atomic_push(struct ref *refs, int mirror_mode);
+
#endif