[PATCH] D26334: Add some facilities to work with a git monorepo (experimental setup)

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 12:35:49 PST 2016


pcc 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):
----------------
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.


Repository:
  rL LLVM

https://reviews.llvm.org/D26334





More information about the llvm-commits mailing list