llvm.org GIT mirror llvm / 59bbd3c
Fix `git-llvm` script to handle `git worktree` setups correctly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286140 91177308-0d34-0410-b5e6-96231b3b80d8 Mehdi Amini 3 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
220220 os.chdir(git_root)
221221
222222 # We need a staging area for SVN, let's hide it in the .git directory.
223 svn_root = os.path.join(git_root, '.git', 'llvm-upstream-svn')
223 dot_git_dir = git('rev-parse', '--git-common-dir')
224 svn_root = os.path.join(dot_git_dir, 'llvm-upstream-svn')
224225 svn_init(svn_root)
225226
226227 rev_range = args.rev_range