author | Junio C Hamano <gitster@pobox.com> | |
Mon, 27 Feb 2012 07:05:45 +0000 (23:05 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 27 Feb 2012 07:05:45 +0000 (23:05 -0800) |
* fc/push-prune:
push: add '--prune' option
remote: refactor code into alloc_delete_ref()
remote: reorganize check_pattern_match()
remote: use a local variable in match_push_refs()
Conflicts:
builtin/push.c
push: add '--prune' option
remote: refactor code into alloc_delete_ref()
remote: reorganize check_pattern_match()
remote: use a local variable in match_push_refs()
Conflicts:
builtin/push.c
1 | 2 | |||
---|---|---|---|---|
builtin/push.c | patch | | diff1 | | diff2 | | blob | history |
transport.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc builtin/push.c
index 6c373cf28bfc9d8409014d84eef5b886218b25ab,fdfb2c4512e98b0448f710bf3162ef948cd52ded..d315475f16c96a831a11c2aebf00ada40b7c9663
--- 1/builtin/push.c
--- 2/builtin/push.c
+++ b/builtin/push.c
OPT_STRING( 0 , "exec", &receivepack, "receive-pack", "receive pack program"),
OPT_BIT('u', "set-upstream", &flags, "set upstream for git pull/status",
TRANSPORT_PUSH_SET_UPSTREAM),
- OPT_BOOLEAN(0, "progress", &progress, "force progress reporting"),
+ OPT_BOOL(0, "progress", &progress, "force progress reporting"),
+ OPT_BIT(0, "prune", &flags, "prune locally removed refs",
+ TRANSPORT_PUSH_PRUNE),
OPT_END()
};
diff --cc transport.c
Simple merge