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

git-svn: Please improve confusing error message "needs update" (when actually commit is needed) in rebase

From
JHJakub Holy <jakub.holy@iterate.no>
Date
Feb 24, 2012, 09:55 UTC
Message-ID
<CAFXq=J4j=BGccJXL91UpnvESU2ijHP=4HQSS4J0R34zOU54gPw@mail.gmail.com>
In-Reply-To
<CAFXq=J7hoUtb06LBAPhrbdmtHB8FGWpmUoz2yF-UJz8G=_smPA@mail.gmail.com>
Hi,
I hope this is the right way to submit this enhancement request.

When I run rebase with uncommited local changes, I get rather unclear error message: $ git svn rebase -v mymodule/src/main/java/example/MyModifiedFile.java: needs update rights-lib/src/main/java/example/AnotherModifiedFile.java: needs update update-index --refresh: command returned error: 1

If the message was something like "You have uncommited changes in your workspace, commit them before running rebase." (followed by a list of the files) it would be much easier for newcomers like me to understand what has to be done.

I tried to understand what has to be changed in the code but it exceeds my low level of knowledge :-(

Thank you!

Best regards, Jakub Holy -- Jakub Holy Solutions Engineer | +47 966 23 666 Iterate AS | www.iterate.no The Lean Software Development Consultancy

-- Jakub Holy Solutions Engineer | +47 966 23 666 Iterate AS | www.iterate.no The Lean Software Development Consultancy

Message 1 of 1 in “git-svn: Please improve confusing error message "needs update" (when actually commit is needed) in rebase”
  1. Jakub HolyFeb 24, 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.