Re: [PATCH v2 05/14] commit-graph: implement git-commit-graph --write
- From
Stefan Beller <sbeller@google.com>
- Date
- Feb 2, 2018, 18:36 UTC
- Message-ID
- <CAGZ79kb8kHAb6HYrxY_oMq5v3p1+AHX_ad40nwUEwiDKe=i+Ng@mail.gmail.com>
- In-Reply-To
- <20180201153349.c94fe3de6b632e2fd8f843cf@google.com>
On Thu, Feb 1, 2018 at 3:33 PM, Jonathan Tan <jonathantanmy@google.com> wrote:
Show 19 quoted lines
> On Tue, 30 Jan 2018 16:39:34 -0500 > Derrick Stolee <stolee@gmail.com> wrote: > >> diff --git a/Documentation/git-commit-graph.txt b/Documentation/git-commit-graph.txt >> index c8ea548dfb..3f3790d9a8 100644 >> --- a/Documentation/git-commit-graph.txt >> +++ b/Documentation/git-commit-graph.txt >> @@ -5,3 +5,21 @@ NAME >> ---- >> git-commit-graph - Write and verify Git commit graphs (.graph files) >> >> + >> +SYNOPSIS >> +-------- >> +[verse] >> +'git commit-graph' --write <options> [--pack-dir <pack_dir>] > > Subcommands (like those in git submodule) generally don't take "--", as > far as I know.
Then you know only the ugly side of Git. ;)
It is true for git-submodule and a few others (the minority of commands IIRC) git-tag for example takes subcommands such as --list or --verify. https://public-inbox.org/git/xmqqiomodkt9.fsf@gitster.dls.corp.google.com/