commit | e32afab7b0376a7b07601a87cd5c6841ff2a811a | [log] [tgz] |
---|---|---|
author | Paul Smith <paul@mad-scientist.net> | Wed Nov 26 15:38:28 2014 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Dec 03 12:49:24 2014 -0800 |
tree | c4a2bd6dfffbbbb28eca977858aaddafa43bd336 | |
parent | e69b1ce000e6c530ac8bf06470742456277e2a36 [diff] |
git-new-workdir: don't fail if the target directory is empty Allow new workdirs to be created in an empty directory (similar to "git clone"). Provide more error checking and clean up on failure. Signed-off-by: Paul Smith <paul@mad-scientist.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>