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

[UI issue + BUG] recovering from rebase aborting due to untracked files

From
Yann Dirson <ydirson@altern.org>
Date
Jan 15, 2010, 10:44 UTC
Message-ID
<ea70c5e3e02a9e9a39384ea417bfa59a.squirrel@intranet.linagora.com>

During an interactive rebase, it happened that some testing operations on one commit created files that were normally added by a later commit, leading to the following conflict:

$ git rebase --continue error: Untracked working tree file 'xxxx' would be overwritten by merge. Aborting Could not apply 8a2ea0a... L10n of photo and games. $

No clue is given about what to do next. It would be nice if one could just removes the faulty files, and use "rebase --continue". Unfortunately, doing the following results in the rebase being prematurely finished with success, with all patches starting with the one causing the problem being silently dropped.

Now it is not so hard for an experienced user to rewind and avoid doing the mistake a second time, but some safeguards would be nice.

Does anyone with knowledge of rebase internals see what goes wrong and how to fix it best ?

Message 1 of 1 in “[UI issue + BUG] recovering from rebase aborting due to untracked files”
  1. Yann DirsonJan 15, 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.