author | Junio C Hamano <junkio@cox.net> | |
Mon, 18 Dec 2006 02:08:52 +0000 (18:08 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 18 Dec 2006 02:26:53 +0000 (18:26 -0800) | ||
commit | 26cdd1e7c7a21b6d71ebc201fc2472a6a68f5ce4 | |
tree | 58070ab966c87e69050274f8308adab01c789eb7 | tree | snapshot |
parent | ed9f7c954c26ec6d517bdca3d8e4b895278d1b2b | commit | diff |
avoid accessing _all_ loose refs in git-show-ref --verify
If you want to verify a ref, it is overkill to first read all loose refs
into a linked list, and then check if the desired ref is there.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
If you want to verify a ref, it is overkill to first read all loose refs
into a linked list, and then check if the desired ref is there.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
builtin-show-ref.c | diff | blob | history |