]> git.cworth.org Git - nogit/commitdiff
Implement "nogit clone"
authorCarl Worth <cworth@cworth.org>
Sun, 5 Jul 2020 05:44:09 +0000 (22:44 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 5 Jul 2020 05:49:39 +0000 (22:49 -0700)
This is logically just a git clone with the following two differences:

  1. It works in the current directory instead of making a new directory

  2. It puts its object store into .nogit instead of .git, (and it's just
     fine if there's already a .git here).

There are safety checks and it will refuse to clone in either of the
following cases:

  1. There is already a .nogit directory present

  2. Any of the working-tree files to be cloned already exist


No differences found