Re: change symlink

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

 



On Tue, Oct 30, 2012 at 9:35 PM, Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
> shawn wilson <ag4ve.us@xxxxxxxxx> writes:
>
>> but should t2 be reported as 'deleted'?
>
> Sure, that's what you did.
>

if i do the same to a file (same repo):

touch test2
git add test2
git commit test2 -m "test2"

rm test
ln -s test2 test

git status

# On branch master
# Changes not staged for commit:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       deleted:    t2
#       typechange: test
#
no changes added to commit (use "git add" and/or "git commit -a")


why is this different?
--
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]