diff options
author | Jeff King <peff@peff.net> | 2007-11-18 03:08:22 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-18 02:35:39 -0800 |
commit | 73fa0b44ac1ed3b0b34ea6bcdca7d9b76886b903 (patch) | |
tree | b926e0a7c28b49ba9d89e2731510d5c050ba6ae7 /decorate.h | |
parent | send-pack: tighten remote error reporting (diff) | |
download | tgif-73fa0b44ac1ed3b0b34ea6bcdca7d9b76886b903.tar.xz |
send-pack: fix "everything up-to-date" message
This has always been slightly inaccurate, since it used the
new_refs counter, which really meant "did we send any
objects," so deletions were not counted.
It has gotten even worse with recent patches, since we no
longer look at the 'ret' value, meaning we would say "up to
date" if non-ff pushes were rejected.
Instead, we now claim up to date iff every ref is either
unmatched or up to date. Any other case should already have
generated a status line.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'decorate.h')
0 files changed, 0 insertions, 0 deletions