Re: [PATCH 2/3] ls-remote: remove documentation for custom -h option
From: Jeff King <hidden>
Date: 2021-09-24 17:54:18
From: Jeff King <hidden>
Date: 2021-09-24 17:54:18
On Fri, Sep 24, 2021 at 07:11:13PM +0200, SZEDER Gábor wrote:
quoted
diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt index 492e573856f..6e241640bd9 100644 --- a/Documentation/git-ls-remote.txt +++ b/Documentation/git-ls-remote.txt@@ -21,7 +21,6 @@ commit IDs. OPTIONS ------- --h::The description of this option contains the following: Note that git ls-remote -h used without anything else on the command line gives help, consistent with other git subcommands.
Yup. That comes from this thread discussing an identical patch: https://lore.kernel.org/git/b0397b3285eab3448a3fd5dd2c50abb9@pascalroeleven.nl/ (local) which in turn references more discussion of this behavior: https://lore.kernel.org/git/xmqqk1ztmkbn.fsf@gitster.mtv.corp.google.com/ (local) It's gross and weird, but kept for backwards compatibility. -Peff