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

Re: [msysGit] git rev-parse broken on Git for Windows

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 30, 2010, 08:26 UTC
Message-ID
<alpine.DEB.1.00.1007301022310.2983@bonsai2>
In-Reply-To
<4C526260.6000104@workspacewhiz.com>
Hi,
On Thu, 29 Jul 2010, Joshua Jensen wrote:
Show 6 quoted lines
>  9c7304e3e39ed397b3cc6566573333e2698a52b4 (print the usage string on stdout
> instead of stderr) and then 47e9cd28f8a404a0d6293935252ddca5fc243931
> (parseopt: wrap rev-parse --parseopt usage for eval consumption) break the
> following line from the manual and 'git subtree' on msysGit:
> 
> eval $(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)

Both commits are from Junio's 'next' branch. I Cc:ed the authors of both commits.

> Running 'git revert' on both changelists causes the 'git rev-parse 
> --parseopt' to work again.
> 
> What was 9c7304e trying to solve?

Probably it tried to follow some GNU convention or some such. It does not say in the commit message, and neither in the code.

Thanks, Johannes

Previous: Joshua JensenNext: Thomas Rast
Message 2 of 7 in “git rev-parse broken on Git for Windows”
  1. Joshua JensenJul 30, 2010
  2. Johannes SchindelinJul 30, 2010
  3. Thomas RastJul 30, 2010
  4. Joshua JensenJul 30, 2010
  5. Thomas RastJul 30, 2010
  6. Documentation/rev-parse: quoting is required with --parseoptThomas Rast, Jul 30, 2010
  7. Junio C HamanoJul 30, 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.