]> granicus.if.org Git - git/commit
multi-pack-index: provide more helpful usage info
authorDerrick Stolee <dstolee@microsoft.com>
Mon, 20 Aug 2018 16:51:53 +0000 (16:51 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Aug 2018 22:31:39 +0000 (15:31 -0700)
commit6d68e6a46174746d95373a47ab4ef4f57aa56d22
tree87156f90a8fe70dca7a37d37248efe7185f290f2
parentc00ba2233ef7dcfa478068c75bc4b25a7ac2a0a8
multi-pack-index: provide more helpful usage info

The multi-pack-index builtin has a very simple command-line
interface. Instead of simply reporting usage, give the user a
hint to why the arguments failed.

Reported-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/multi-pack-index.c