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

Re: git submodule summary doesn't return an error when passed a wrong commit/rev

From
Jens Lehmann <jens.lehmann@web.de>
Date
Oct 26, 2012, 19:53 UTC
Message-ID
<508AEA39.2020205@web.de>
In-Reply-To
<CAC9WiBgdgy1bwh0c16jd017q2rqQAq-suDADn2-vGw9eubBs_w@mail.gmail.com>
Am 26.10.2012 16:03, schrieb Francis Moreau:
Show 5 quoted lines
> it seems to me that when passed an unknown rev or a wrong commit/sha1,
> git-submodule-summary should at least exit with an error status. Even better
> would be a error output.
> 
> Test was done with git version 1.7.10.4 from debian wheezy.

Thanks for your report, I think you found a real issue. Some quick tests showed some problems with other parameter combinations too. I'll take a deeper look the next days.

Previous: Francis MoreauNext: Francis Moreau
Message 2 of 3 in “git submodule summary doesn't return an error when passed a wrong commit/rev”
  1. Francis MoreauOct 26, 2012
  2. Jens LehmannOct 26, 2012
  3. Francis MoreauOct 26, 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.