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

Re: [PATCH 2/2] Porcelain scripts: Rewrite cryptic "needs update" error message

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 26, 2010, 16:31 UTC
Message-ID
<vpqiq1spiuq.fsf@bauges.imag.fr>
In-Reply-To
<1285514516-5112-3-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 5 quoted lines
>  		# Run in subshell because require_clean_work_tree can die.
> -		if ! (require_clean_work_tree)
> +		if ! (require_clean_work_tree "rebase")
>  		then
>  			warn "Commit or stash your changes, and then run"
That will make a duplicate "commit or stash your changes" message.
Otherwise, the patch seems OK.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Ramkumar Ramachandra
Message 12 of 12 in “What exactly does 'needs update' mean?”
  1. Joshua JensenSep 25, 2010
  2. Junio C HamanoSep 25, 2010
  3. Joshua JensenSep 25, 2010
  4. Joshua JensenSep 25, 2010
  5. 0/2 Eliminate cryptic "needs update" error messageRamkumar Ramachandra, Sep 26, 2010
  6. 1/2 sh-setup: Write a new require_clean_work_tree functionRamkumar Ramachandra, Sep 26, 2010
  7. Matthieu MoySep 26, 2010
  8. Ramkumar RamachandraSep 26, 2010
  9. Matthieu MoySep 26, 2010
  10. Ramkumar RamachandraSep 26, 2010
  11. 2/2 Porcelain scripts: Rewrite cryptic "needs update" error messageRamkumar Ramachandra, Sep 26, 2010
  12. Matthieu MoySep 26, 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.