]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'mt/open-worktree'
authorPratyush Yadav <me@yadavpratyush.com>
Mon, 22 Jun 2020 14:53:28 +0000 (20:23 +0530)
committerPratyush Yadav <me@yadavpratyush.com>
Mon, 22 Jun 2020 14:53:28 +0000 (20:23 +0530)
commit469725c1a3d44f7e1475f1d37cd13e0824d4ea41
treef705800282a6243305f94212ee38035d97007552
parentc195247812f8cd38ba7e1c603112e6c1d8d8e71e
parenta7473956f7e0ff710f6928b1c23a577f66cb4165
Merge branch 'mt/open-worktree'

Clean up the code that checks if a directory is a Git repo. Use git
rev-parse instead of rolling our own logic to find that out. A side
effect (which also happens to be the main motivation behind it) of this
change is that git-gui can now open worktrees other than the main
worktree.

* mt/open-worktree:
  git-gui: allow opening work trees from the startup dialog