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

git rev-parse broken on Git for Windows

From
Joshua Jensen <jjensen@workspacewhiz.com>
Date
Jul 30, 2010, 05:25 UTC
Message-ID
<4C526260.6000104@workspacewhiz.com>
  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 $?)

Running 'git revert' on both changelists causes the 'git rev-parse --parseopt' to work again.

What was 9c7304e trying to solve?
Thanks.
Josh
Next: Johannes Schindelin
Message 1 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.