mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
transport: remove unused "push" in vtable
After commit 0d0bac67ce ("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>
This commit is contained in:
committed by
Junio C Hamano
parent
3013dff866
commit
170078693f
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user