[Insight-developers] KWStyle, ITK, & Git Questions.
Brad King
brad.king at kitware.com
Tue Feb 15 12:01:10 EST 2011
On 02/15/2011 11:05 AM, Williams, Norman K wrote:
> The question is where would it get built & installed for use by the git
> KWStyle hook? All you know for sure is where the source tree is, at the
> point where you're running DeveloperSetup.sh. Should it get stuck in .git
> directory? Ideas?
The developer setup script is interactive, so you can prompt the user.
Otherwise it can go in the source tree at a path that you add to the
.gitignore file.
> Question #2: Why doesn't KWStyle have a release branch in git? I don't
> know if anyone's actively working on KWStyle, but it is a little scary
> using a git clone to download the source for a program and not know what
> revision you're getting.
You can teach your script to do "git checkout 0a1b2c" where the hash
names the desired (tested) commit.
-Brad
More information about the Insight-developers
mailing list