diff options
author | Luciano Rocha <luciano@eurotux.com> | 2008-05-28 19:53:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-28 18:31:19 -0700 |
commit | 74d3b23fe3771c769ccd5c97f6a46682b4061577 (patch) | |
tree | 3c43256733366887751ad07cbc8ea40a2d53e546 /branch.h | |
parent | d2b3691b61d516a0ad2bf700a2a5d9113ceff0b1 (diff) | |
download | git-74d3b23fe3771c769ccd5c97f6a46682b4061577.tar.gz git-74d3b23fe3771c769ccd5c97f6a46682b4061577.tar.xz |
git-init: accept --bare option
It is unfortunate that "git init --bare" does not work and the only reason
why "init" did not learn its own "--bare" option is because "git --bare
init" already does the job (and as an option to the git 'potty', it is
more generic solution).
This teaches "git init" its own "--bare" option, so that both "git --bare init"
and "git init --bare" works mostly the same way.
[jc: rewrote the log message and added test]
Signed-off-by: Luciano Rocha <strange@nsk.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
0 files changed, 0 insertions, 0 deletions