diff options
author | Ilari Liusvaara <ilari.liusvaara@elisanet.fi> | 2010-01-16 23:45:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-16 16:39:58 -0800 |
commit | e9fcd1e2121100d43d2d212eb6c6f1fc82aade1d (patch) | |
tree | 6a1d97f297fa15ee407e395a778c43675c95194f /transport.h | |
parent | 1f73566af5bec28cd8489c6139a9ede95817349c (diff) | |
download | git-e9fcd1e2121100d43d2d212eb6c6f1fc82aade1d.tar.gz |
Add push --set-upstream
Frequent complaint is lack of easy way to set up upstream (tracking)
references for git pull to work as part of push command. So add switch
--set-upstream (-u) to do just that.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.h')
-rw-r--r-- | transport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport.h b/transport.h index 97ba2519dd..c4314dd59b 100644 --- a/transport.h +++ b/transport.h @@ -91,6 +91,7 @@ struct transport { #define TRANSPORT_PUSH_VERBOSE 16 #define TRANSPORT_PUSH_PORCELAIN 32 #define TRANSPORT_PUSH_QUIET 64 +#define TRANSPORT_PUSH_SET_UPSTREAM 128 /* Returns a transport suitable for the url */ struct transport *transport_get(struct remote *, const char *); |