git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Incomplete bash completion on git commit: --allow-empty-message and --allow-empty
@ 2018-08-16  7:46 Hadi Safari
  2018-08-16 15:10 ` Duy Nguyen
  2018-08-16 15:11 ` [PATCH] completion: include PARSE_OPT_HIDDEN in completion output Ævar Arnfjörð Bjarmason
  0 siblings, 2 replies; 5+ messages in thread
From: Hadi Safari @ 2018-08-16  7:46 UTC (permalink / raw)
  To: Git Users

Hi!

I'm wondering why there isn't --allow-empty and --allow-empty-message in 
completeion list of git commit command. I'm getting only following flags 
from v2.18.0 on `git commit --`:

--ahead-behind      --include           --reedit-message=
--all               --interactive       --reset-author
--amend             --long              --reuse-message=
--author=           --message=          --short
--branch            --no-edit           --signoff
--cleanup=          --no-post-rewrite   --squash=
--date=             --no-verify         --status
--dry-run           --null              --template=
--edit              --only              --untracked-files
--file=             --patch             --verbose
--fixup=            --porcelain         --verify
--gpg-sign          --quiet

Besides, is there any way to allow empty commit message for a repo, e.g. 
by adding something to `.git/config`? I couldn't find any in docs.

-- 
Hadi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-17 14:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-16  7:46 Incomplete bash completion on git commit: --allow-empty-message and --allow-empty Hadi Safari
2018-08-16 15:10 ` Duy Nguyen
2018-08-16 15:11 ` [PATCH] completion: include PARSE_OPT_HIDDEN in completion output Ævar Arnfjörð Bjarmason
2018-08-16 15:50   ` Junio C Hamano
2018-08-17 14:47   ` Duy Nguyen

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).