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

Re: [PATCH v5 2/5] git-submodule summary: show commit summary

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 12, 2008, 04:12 UTC
Message-ID
<7vabl48tt4.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1205243539-797-3-git-send-email-pkufranky@gmail.com>

I've squashed a moral equivalent of the following into this patch (I also re-indented "case...esac"). Will perhaps queue in 'next' and after that we can incrementally improve on it.

Thanks.
 git-submodule.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-submodule.sh b/git-submodule.sh
index a0ea913..ea23b45 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -400,7 +400,7 @@ cmd_summary() {
 				160000)
 				sha1_dst=$(GIT_DIR="$name/.git" git rev-parse HEAD)
 				;;
-				100644)
+				100644 | 100755 | 120000)
 				sha1_dst=$(git hash-object $name)
 				;;
 			esac
Previous: Ping YinNext: Ping Yin
Message 10 of 14 in “git-submodule summary”
  1. 0/5 git-submodule summaryPing Yin, Mar 11, 2008
  2. 1/5 git-submodule summary: code frameworkPing Yin, Mar 11, 2008
  3. 2/5 git-submodule summary: show commit summaryPing Yin, Mar 11, 2008
  4. 3/5 git-submodule summary: limit summary sizePing Yin, Mar 11, 2008
  5. 4/5 git-submodule summary: documentationPing Yin, Mar 11, 2008
  6. 5/5 git-submodule summary: testPing Yin, Mar 11, 2008
  7. Ping YinMar 12, 2008
  8. Junio C HamanoMar 12, 2008
  9. Ping YinMar 12, 2008
  10. Junio C HamanoMar 12, 2008
  11. Ping YinMar 12, 2008
  12. Junio C HamanoMar 12, 2008
  13. Ping YinMar 12, 2008
  14. git-submodule summary: fix that some "wc" flavors produce leading spacesJohannes Sixt, Mar 12, 2008

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.