git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: change symlink

From
SWshawn wilson <ag4ve.us@gmail.com>
Date
Oct 30, 2012, 21:42 UTC
Message-ID
<CAH_OBifch3uuXYHQ1R9vS6xFu8LuY3mUfiPsHcs3F=HMvnBzyg@mail.gmail.com>
In-Reply-To
<m2fw4vod81.fsf@igel.home>
On Tue, Oct 30, 2012 at 9:35 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
Show 6 quoted lines
> shawn wilson <ag4ve.us@gmail.com> 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?
Previous: Andreas SchwabNext: Andreas Schwab
Message 5 of 12 in “change symlink”
  1. shawn wilsonOct 30, 2012
  2. Andreas SchwabOct 30, 2012
  3. shawn wilsonOct 30, 2012
  4. Andreas SchwabOct 30, 2012
  5. shawn wilsonOct 30, 2012
  6. Andreas SchwabOct 30, 2012
  7. shawn wilsonOct 30, 2012
  8. Andreas SchwabOct 30, 2012
  9. shawn wilsonOct 30, 2012
  10. Jeff KingOct 31, 2012
  11. Jeff KingOct 31, 2012
  12. Jeff KingOct 31, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.