]> git.notmuchmail.org Git - notmuch/commit
nmbug: mark repository as bare on clone
authorDavid Bremner <david@tethera.net>
Sat, 12 Apr 2014 16:30:32 +0000 (13:30 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 15 Apr 2014 20:20:19 +0000 (17:20 -0300)
commitdd24fdd33a3c06b2c2ad6bcb8e7d18bc8442f51f
treea7f0b9217c0dad9c354cf0064f6eed7f302ded38
parenta63ca54b1f2453593519dd0e609e63878ef22056
nmbug: mark repository as bare on clone

If a git repository is non-bare, and core.worktree is not set, git
tries to deduce the worktree. This deduction is not always helpful, e.g.

% git --git-dir=$HOME/.nmbug clean -f

would likely delete most of the files in the current directory
devel/nmbug/nmbug