Hi, On Wed, 24 Jan 2007, Junio C Hamano wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > > > +git-update-index --index-info << EOF > > +10644 $hash_one 1 one > > +10644 $hash_two 2 one > > +10644 $hash_three 3 one > > +EOF > > How can this work with 10644 instead of 100644? Did you spot a > bug in update-index --index-info? Actually, since !S_ISLNK(010644), it uses ce_permissions(010644), which basically only checks if (010644 & 0100) is set (i.e. if it is executable by the user), and depending on this returns 0755 or 0644. That's why it works. Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html