diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2017-12-12 15:10:56 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-12 16:50:56 -0800 |
commit | 170078693fcccd614406e1c3c9fcbea8aaba0c13 (patch) | |
tree | 56e480fab5e55e4894d80a6208850a268c298ac6 /transport.h | |
parent | 3013dff8662eae06457fe6e5348dfe2270810ab2 (diff) | |
download | git-170078693fcccd614406e1c3c9fcbea8aaba0c13.tar.gz |
transport: remove unused "push" in vtablejt/transport-no-more-rsync
After commit 0d0bac67ce3b ("transport: drop support for git-over-rsync",
2016-02-01), no transport in Git populates the "push" entry in the
transport vtable. Remove this entry.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/transport.h b/transport.h index bc5571574b..ab4fe7f277 100644 --- a/transport.h +++ b/transport.h @@ -103,7 +103,6 @@ struct transport { * process involved generating new commits. **/ int (*push_refs)(struct transport *transport, struct ref *refs, int flags); - int (*push)(struct transport *connection, int refspec_nr, const char **refspec, int flags); int (*connect)(struct transport *connection, const char *name, const char *executable, int fd[2]); |