author | Junio C Hamano <gitster@pobox.com> | |
Mon, 9 Feb 2009 07:27:10 +0000 (23:27 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Feb 2009 06:26:20 +0000 (22:26 -0800) | ||
commit | f8948e2fbc7fbd63e81006408965e3e89380bfaa | |
tree | e431c958f2c07b7da331d985f96d81267c75e20a | tree | snapshot |
parent | 8ea7ad694be942350457197357127ed81b2550fe | commit | diff |
remote prune: warn dangling symrefs
If you prune from the remote "frotz" that deleted the ref your tracking
branch remotes/frotz/HEAD points at, the symbolic ref will become
dangling. We used to detect this as an error condition and issued a
message every time refs are enumerated.
This stops the error message, but moves the warning to "remote prune".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If you prune from the remote "frotz" that deleted the ref your tracking
branch remotes/frotz/HEAD points at, the symbolic ref will become
dangling. We used to detect this as an error condition and issued a
message every time refs are enumerated.
This stops the error message, but moves the warning to "remote prune".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c | diff | blob | history | |
refs.c | diff | blob | history | |
refs.h | diff | blob | history | |
t/t5505-remote.sh | diff | blob | history |