Hi lbdyck,
Are you sure that your statement is true, cause I can’t reproduce it:
syntax: git clone [–very-many-options…] repository [directory]
lets check it on pkgconf repo:
- git clone git@github.com:pkgconf/pkgconf.git
clone will go to pkgconf subdirectory
bash-4.3$ ls pkgconf/
AUTHORS COPYING Makefile.am NEWS autogen.sh configure.ac libpkgconf m4 meson.build pkg.m4
CODE_OF_CONDUCT.md Kyuafile.in Makefile.lite README.md cli doc libpkgconf.pc.in man meson_options.txt tests
- git clone git@github.com:pkgconf/pkgconf.git pconf
Clone will go to pconf directory without additional subdirectories
bash-4.3$ ls pconf
AUTHORS COPYING Makefile.am NEWS autogen.sh configure.ac libpkgconf m4 meson.build pkg.m4
CODE_OF_CONDUCT.md Kyuafile.in Makefile.lite README.md cli doc libpkgconf.pc.in man meson_options.txt tests
- git clone git@github.com:pkgconf/pkgconf.git /u/username/git/pc2
Clone will go to /u/cskloc/git/pc2 directory without additional subdirectories
bash-4.3$ ls /u/cskloc/git/pc2
AUTHORS COPYING Makefile.am NEWS autogen.sh configure.ac libpkgconf m4 meson.build pkg.m4
CODE_OF_CONDUCT.md Kyuafile.in Makefile.lite README.md cli doc libpkgconf.pc.in man meson_options.txt tests
Thanks,
Alexander