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

Re: [PATCH] clone: add `--shallow-submodules` flag

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 25, 2016, 22:37 UTC
Message-ID
<xmqqvb35iabx.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAGZ79kbPcefodLd4Jt4tvJJmHZXJGe-AMEgzREWZiUvNeciFSQ@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
> I agree. How about `currentdir`, `testdir` or `testtop` instead?
> That is slightly longer than `D`, `here` or `top`, but is slightly more
> informative. $TRASH would also work for me.

I would not be happy to see a patch that adds yet another variable that is never used so far, like currentdir, testdir, or testtop.

Among the ones I found that are already in use, $here is probably my favourite, because it does _not_ have to be set to the top; it just says "this is the directory my main focus is in".

Having said that, personally, I find $D (as long as D is in capital) is distinctive and descriptive enough.

Previous: Stefan BellerNext: Stefan Beller
Message 4 of 5 in “clone: add `--shallow-submodules` flag”
  1. clone: add `--shallow-submodules` flagStefan Beller, Apr 25, 2016
  2. Junio C HamanoApr 25, 2016
  3. Stefan BellerApr 25, 2016
  4. Junio C HamanoApr 25, 2016
  5. Stefan BellerApr 26, 2016

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.