Re: change symlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 30, 2012 at 10:22:04PM +0000, shawn wilson wrote:

> On Tue, Oct 30, 2012 at 10:09 PM, Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
> > shawn wilson <ag4ve.us@xxxxxxxxx> writes:
> >
> >> and once it's added, status says:
> >> #       renamed:    t2 -> t2/one/test
> >>
> >> that's not exactly true, but...
> >
> > What's wrong with it?  Both files have the same contents, which is the
> > link target for symlinks.
> >
> 
> ok, you're right about that (another test where i changed where the
> symlink pointed):
> #       deleted:    test
> #       new file:   test/one/t3
> 
> 
> however (what got me started wondering about this and a point i forgot
> about) - t2/one/test doesn't show up under 'untracked files' in in
> status that scenario. shouldn't it?

Yes, I think that is a bug.

My guess is that the presence of "test" in the index fools us from
descending into the directory. And indeed, if you try "git status
-uall", you will see the untracked file. So it is something with the
directory traversal cutoff in the regular "-unormal" mode.

-Peff
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]