NAKAMURA Takumi
2011-Jun-30 03:57 UTC
[LLVMdev] Introduction to git-bisect with "llvm-project.git"
Hello guys, I am making a submodule-based metaproject "llvm-project.git" for bisecting clang. I will introduce it to help you developers. Unfortunately, submodule is not useful to manage your branches. :/ Have fun! ...Takumi Instructions; 1. fetch two scripts from git://github.com/chapuni/llvm-project-scripts.git - hooks/post-merge - hooks/post-checkout 2. git clone git://github.com/chapuni/llvm-project.git 3. (If you have repos locally) clone projects under llvm-project $ cd llvm-project $ git clone ../path/to/your/llvm $ git clone ../path/to/your/clang 4. for each submodules, make sure master should track upstream. $ cd llvm $ git remote add origin http://llvm.org/git/llvm.git $ git fetch origin $ git checkout --track origin/master $ git pull 5. If you take clang, please symlink clang under llvm/tools :) On msysgit, "gitdir" feature would help you. (I will describe later) 6. for each submodule you will take, $ git submodule init llvm 7. (optional) git submodule update 8. Install too hook scripts on .git/hooks X. on llvm-project, $ git checkout master; git pull Usually, you would not need to use "git submodule update" ps. you would die when you tagged rXXXXXX to all commits!
David A. Greene
2011-Jul-05 20:43 UTC
[LLVMdev] Introduction to git-bisect with "llvm-project.git"
NAKAMURA Takumi <geek4civic at gmail.com> writes:> I am making a submodule-based metaproject "llvm-project.git" for > bisecting clang. > I will introduce it to help you developers. > Unfortunately, submodule is not useful to manage your branches. :/I'm working on a similar thing, actually, Unfortunately, my server has atrocious upstream bandwidth. ADSL is not kind to developers. :( I started off using git-submodule but found it unintuitive and annoying due to its use of detached head states. git-subtree is much, much better. :) http://apenwarr.ca/log/?m=200904 -Dave