From 170078693fcccd614406e1c3c9fcbea8aaba0c13 Mon Sep 17 00:00:00 2001 From: Jonathan Tan Date: Tue, 12 Dec 2017 15:10:56 -0800 Subject: transport: remove unused "push" in vtable 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 Reviewed-by: Jeff King Signed-off-by: Junio C Hamano --- transport.h | 1 - 1 file changed, 1 deletion(-) (limited to 'transport.h') diff --git a/transport.h b/transport.h index bc5571574..ab4fe7f27 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]); -- cgit v1.2.1