| author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
| Fri, 1 Aug 2008 14:01:36 +0000 (16:01 +0200) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sun, 3 Aug 2008 21:05:55 +0000 (14:05 -0700) | ||
| commit | 6612f877cc94e80cd0c7393a8ea6bfea69146b3c | |
| tree | 936a286e2ffaf1c2a608f2f63d5adf657aeb74c3 | tree | snapshot |
| parent | 807d86945336f676c9f650a6cbae9baa3191aaec | commit | diff |
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>
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 | diff | blob | history | |
| t/t5601-clone.sh | diff | blob | history |