[PATCH] D26334: Add some facilities to work with a git monorepo (experimental setup)
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 7 12:45:59 PST 2016
mehdi_amini added inline comments.
================
Comment at: llvm/trunk/utils/git-svn/git-llvm:216
+ # Get the git root
+ git_root = git('rev-parse', '--show-toplevel')
+ if not os.path.isdir(git_root):
----------------
pcc wrote:
> This doesn't appear to give the correct result for worktrees. It looks like you want to use `git rev-parse --git-common-dir` here.
Thanks, fixed in r286140
Repository:
rL LLVM
https://reviews.llvm.org/D26334
More information about the llvm-commits
mailing list