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

RE: [PATCH] Avoid rename/add conflict when contents are identical

From
SKSchalk, Ken <ken.schalk@intel.com>
Date
Aug 31, 2010, 21:05 UTC
Message-ID
<EF9FEAB3A4B7D245B0801936B6EF4A2533CEF8@azsmsx503.amr.corp.intel.com>
In-Reply-To
<AANLkTik2op0_Cq13EGit17ja+zCdmbM6WXJ=rfhQMnOQ@mail.gmail.com>
>On Fri, Aug 27, 2010 at 22:14, Schalk, Ken <ken.schalk@intel.com> wrote:
>> +       ln -s e a &&
>Due to this this (and maybe all the tests) need to depend on the
>SYMLINKS prereq.
I used a symlink here to try and duplicate the original problem case that a git user at Intel brought to me.  I admit I didn't consider the problem of testing on platforms without symlink support.
I'm having a little difficulty generating a rename/add conflict inside this test without using a symlink, which seems odd to me as the symlink doesn't seem to be necessary in an experiment I did by hand.  I'll either re-submit with this portion of the test conditional on symlink support, or with an alternate test that doesn't use symlinks (if I can get that to work in the test).
--Ken
Previous: Ævar Arnfjörð BjarmasonNext: Schalk, Ken
Message 6 of 8 in “Avoid rename/add conflict when contents are identical”
  1. Avoid rename/add conflict when contents are identicalSchalk, Ken, Aug 9, 2010
  2. Ævar Arnfjörð BjarmasonAug 9, 2010
  3. Junio C HamanoAug 13, 2010
  4. Schalk, KenAug 27, 2010
  5. Ævar Arnfjörð BjarmasonAug 28, 2010
  6. Schalk, KenAug 31, 2010
  7. Schalk, KenSep 1, 2010
  8. Junio C HamanoSep 3, 2010

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.