author | Junio C Hamano <junkio@cox.net> | |
Mon, 2 May 2005 04:07:40 +0000 (21:07 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 2 May 2005 04:07:40 +0000 (21:07 -0700) | ||
commit | 90535218ddcf530bfdbae450f92385eeef954ce8 | |
tree | af9287f94561344e033082f30e27b997a894e902 | tree | snapshot |
parent | fa9e9c7bc4d6437537a78517f7f6909340e25ad9 | commit | diff |
[PATCH] Make git-update-cache --refresh fail if update/merge needed.
Scripts may find it useful if they do not have to parse the
output from the command but just can rely on its exit status.
Earlier both Linus and myself thought this would be necessary to
make git-prune-script safer but it turns out that the issue was
somewhere else and not related to what this patch addresses.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Scripts may find it useful if they do not have to parse the
output from the command but just can rely on its exit status.
Earlier both Linus and myself thought this would be necessary to
make git-prune-script safer but it turns out that the issue was
somewhere else and not related to what this patch addresses.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
update-cache.c | diff | blob | history |