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

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

From
FMFrancis Moreau <francis.moro@gmail.com>
Date
Oct 26, 2012, 14:03 UTC
Message-ID
<CAC9WiBgdgy1bwh0c16jd017q2rqQAq-suDADn2-vGw9eubBs_w@mail.gmail.com>
Hi,

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
-- 
Francis
Next: Jens Lehmann
Message 1 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.