Code

clone --bare: Add ".git" suffix to the directory name to clone into
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 1 Aug 2008 14:01:36 +0000 (16:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 3 Aug 2008 21:05:55 +0000 (14:05 -0700)
commit6612f877cc94e80cd0c7393a8ea6bfea69146b3c
tree936a286e2ffaf1c2a608f2f63d5adf657aeb74c3
parent807d86945336f676c9f650a6cbae9baa3191aaec
clone --bare: Add ".git" suffix to the directory name to clone into

We have a tradition that bare repositories live in directories ending
in ".git".  To make this more a convention than just a tradition, teach
"git clone --bare" to add a ".git" suffix to the directory name.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c
t/t5601-clone.sh