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

Re: renames in StGIT

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Oct 23, 2006, 16:47 UTC
Message-ID
<b0943d9e0610230947j79449a4dm8736f480f039c230@mail.gmail.com>
In-Reply-To
<20061022013943.GA16341@diana.vm.bytemark.co.uk>
On 22/10/06, Karl Hasselström <kha@treskal.com> wrote:
> It doesn't seem like StGIT uses any of git's rename tracking stuff.
> Specifically, pushing patches doesn't seem to use rename-aware
> merging, and there is no way to tell diff to detect renames and
> copies.

They are indeed not supported by StGIT. One of the reasons is that the push operation would probably take (much) longer (I haven't looked at the algorithm in detail but some comments in the git-diff documentation suggest that this is very expensive). Another reason is that I (used to) send patches to people not using GIT and therefore renames in the diff output were not welcomed.

> Should this perhaps be an item in the TODO list?
Only if it doesn't drastically affect the performance.
-- 
Catalin
Previous: Karl HasselströmNext: Karl Hasselström
Message 2 of 6 in “renames in StGIT”
  1. Karl HasselströmOct 22, 2006
  2. Catalin MarinasOct 23, 2006
  3. Karl HasselströmOct 24, 2006
  4. Catalin MarinasOct 24, 2006
  5. Karl HasselströmOct 24, 2006
  6. Catalin MarinasOct 24, 2006

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.