diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-08-28 17:20:21 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-30 09:28:02 -0700 |
commit | 45059e6468ab5710748c8827d5bf1f4c7c69d6d1 (patch) | |
tree | aef9bf3305497bbe1f730bc42c0a4db86684b0f7 /git-gui/po/pt_br.po | |
parent | worktree: generalize delete_git_dir() to reduce code duplication (diff) | |
download | tgif-45059e6468ab5710748c8827d5bf1f4c7c69d6d1.tar.xz |
worktree: prepare for more checks of whether path can become worktree
Certain conditions must be met for a path to be a valid candidate as the
location of a new worktree; for instance, the path must not exist or
must be an empty directory. Although the number of conditions is small,
new conditions will soon be added so factor out the existing checks into
a separate function to avoid further bloating add_worktree().
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/po/pt_br.po')
0 files changed, 0 insertions, 0 deletions