diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2006-09-28 07:00:38 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-27 22:26:31 -0700 |
commit | 5be7649131379e49f27d89cb6dd5bd8d0912a3d6 (patch) | |
tree | 55eb3555784323bba227ade1a14b9b4647138950 /builtin-update-index.c | |
parent | Add pack-refs and show-ref test cases. (diff) | |
download | tgif-5be7649131379e49f27d89cb6dd5bd8d0912a3d6.tar.xz |
When creating branch c/d check that branch c does not already exists.
With packed refs, there may not be a ".git/refs/heads/c" file
when branch c exists. And currently in this case, there is no check
to prevent creation of branch c/d.
This should probably be rewritten in C and done after the ref lock
has been taken to make sure no race exists though.
This is mainly to make all test cases in "t3210-pack-refs.sh" work.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-update-index.c')
0 files changed, 0 insertions, 0 deletions