Re: [PATCH] Dereference tag repeatedly until we get a non-tag.

2005-07-11 Thread Jon Seymour
This seems reasonable to me. I have thought this would be useful on several occasions and haven't yet conceived of a counterexample where it would break something. On 7/11/05, Junio C Hamano <[EMAIL PROTECTED]> wrote: > When we allow a tag object in place of a commit object, we only > dereferenced

[PATCH] Dereference tag repeatedly until we get a non-tag.

2005-07-10 Thread Junio C Hamano
When we allow a tag object in place of a commit object, we only dereferenced the given tag once, which causes a tag that points at a tag that points at a commit to be rejected. Instead, dereference tag repeatedly until we get a non-tag. This patch makes change to two functions: - commit.c::look