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

The meaning of the '+' before the submodule hash.

From
HZHongyi Zhao <hongyi.zhao@gmail.com>
Date
Apr 21, 2021, 14:19 UTC
Message-ID
<CAGP6PO+6MA9J1LRgGn4rcz8DBcW-hht92p-ahFaM9g6tcNFh-Q@mail.gmail.com>
Hi,
See the following output given below by `git submodule status`:
$ git submodule status
+c7b9787f0b7826a87f07ce00cbfe4947b8521101 external/devxlib (heads/master)
 d0197c76ae76bbf4d3fed20444fac31af550069d external/eigensolver_gpu
(v0.3.1-7-gd0197c7)
+6fef49bcfc4a380432f15734ed0ca1f0b0388977 external/fox (4.1.2-89-g6fef49b)
+4b3c7c249f6a2cfed76603d9987cf5164fa6f9e1 external/lapack
(v3.7.0-1026-g4b3c7c249)
+2899044d2a6828aa16e0189913662bc35ce8f645 external/mbd (0.12.1-43-g2899044)
+2b9973c12e85397fa9564370f6cced16f8428834 external/wannier90
(v3.1.0-35-g2b9973c)

What's the meaning of the '+' sign at the beginning? Why do some submodules have this symbol, but some submodules don't?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
Next: Taylor Blau
Message 1 of 3 in “The meaning of the '+' before the submodule hash.”
  1. Hongyi ZhaoApr 21, 2021
  2. Taylor BlauApr 21, 2021
  3. Hongyi ZhaoApr 21, 2021

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.