Subject: having trouble w/ git & rpm for 5.27 release
From: Raymond Toy
Date: Tue, 3 Apr 2012 09:23:32 -0700
Disclaimer: I'm not very good with git.
On Tue, Apr 3, 2012 at 8:25 AM, Robert Dodier <robert.dodier at gmail.com>wrote:
> Hi,
>
> I'm trying to pull together a 5.27 release and I ran into some problems.
> I can't devote much time to this for the next few weeks so your help
> will get us that much closer to a release. In fact if someone can take
> over the git & rpm stuff entirely, that would be awesome.
>
> (1) I created a branch-5_27 in git via git branch.
> I see that git checkout -b is recommended in various places.
> Is the effect of git branch any different from git checkout -b ?
>
I think they're basically equivalent, except that git checkout -b creates
the branch and them checks it out so that your working directory is now on
the branch. git branch just creates it, but doesn't change the branch of
the working directory.
>
> (1a) The only commit on branch-5_27 is to change the version
> number in configure.in to 5.27.0. If it makes things simpler,
> I'd be happy to nuke the branch and re-do the commit, it's no
> big deal.
>
> (2) I tagged 5.27.0 via git tag -a 5.27.0 and I can git checkout
> that tag. However, git tells me I'm in a "detached head" state.
> How did that happen? and what, if anything, should I do about it?
>
I think that's correct. You checkout the tag and you get exactly that
version. If you want to work on the branch you check out the branch, not
the tag.
Did you remember to push your new branch-5_27 branch to the repo? I didn't
see any commit messages about any changes to that branch.
Ray