path: root/lib/shortcut.tcl
diff options
authorShawn O. Pearce <>2008-01-16 06:14:42 (GMT)
committerShawn O. Pearce <>2008-01-16 06:14:42 (GMT)
commitd36a8f73a4201ab21a553b5caa5b890b8f1d7213 (patch)
tree65da41c58462ee0c5c587a7c017df7dfbf58a546 /lib/shortcut.tcl
parentdaaa958fcc4f829dbd7dac46c39c15f77507495a (diff)
git-gui: Allow 'Create New Repository' on existing directories
Often users setup a few source files and get a project rolling before they create a Git repository for it. In such cases the core Git tools allow users to initialize a new repository by simply running `git init` at the desired root level directory. We need to allow the same situation in git-gui; if the user is trying to make a new repository we should let them do that to any location they chose. If the directory already exists and already has files contained within it we still should allow the user to create a repository there. However we still need to disallow creating a repository on top of an existing repository. Signed-off-by: Shawn O. Pearce <>
Diffstat (limited to 'lib/shortcut.tcl')
0 files changed, 0 insertions, 0 deletions