On Sat, Feb 09, 2008 at 11:27:51AM +1300, Martin Langhoff wrote:Like diff --git a/builtin-send-pack.c b/builtin-send-pack.c index 454ad8f..3979918 100644 --- a/builtin-send-pack.c +++ b/builtin-send-pack.c @@ -315,7 +315,7 @@ static int print_one_push_status(struct ref *ref, const char *dest, int count) ref->peer_ref, NULL); break; case REF_STATUS_REJECT_NONFASTFORWARD: - print_ref_status('!', "[rejected]", ref, ref->peer_ref, + print_ref_status('!', "[kindly refused]", ref, ref->peer_ref, "non-fast forward"); break; case REF_STATUS_REMOTE_REJECT: ? This is actually not that hard to do in the case that we can. Patch will follow in a second, though I am not sure it is a good idea (because it silently ignores pushing rewinds). I think he means something like "if I have 'next' and 'origin/next', then I should check whether 'next' is a subset of 'origin/next'" and just say "nothing to send." But that suffers from the same "silently ignoring rewinds" as above. You could ignore the push if you have next exactly equal to origin/next, but that implies that you haven't done any fetching (which is unlikely in the scenario you described). -Peff - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
| Mark Fasheh | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Linus Torvalds | Linux 2.6.21-rc4 |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Christoph Lameter | Network latency regressions from 2.6.22 to 2.6.29 |
