Question about doing a code review

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by barnettech on January 18, 2012 at 3:21am

Simple question:

If I'm doing a code review and go to http://drupal.org/sandbox/chhavik/1379612 for instance. The repository viewer has changed and I no longer find it as intuitive. So I follow the directions on http://drupal.org/sandbox/chhavik/1379612 and do: git clone http://git.drupal.org/sandbox/chhavik/1379612.git linkedin_group_posts but then can just see the master branch. That seems normal, but then I do git branch and I can only see *master

My question is, does this mean I don't know what I'm doing and there is no 7.x-1.x branch? I should be able to just do git checkout 7.x-1.x correct? git branch doesn't even show the 7.x-1.x branch.

Why can't I see the applicants other branch. Is it their error or mine? I see on this repository summary viewer: http://drupalcode.org/sandbox/chhavik/1379612.git there are 2 heads and one is 7.x-1.x What's the trick? Should the directions on http://drupal.org/sandbox/chhavik/1379612 be updated to help confused folks like me or is the applicant's sandbox messed up?

Thanks for your help.

Comments

Use the 'version control'

Posted by jthorson on January 18, 2012 at 3:55am

Use the 'version control' link on the project page, select the version you want, and use the instructions from that page ... The text on the project page itself is whatever the maintainer put there, so it could be wrong or contain typos.

problem resolved itself

Posted by barnettech on January 18, 2012 at 4:00am

now when I go to this user's project it's showing the correct git instructions: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/chhavik/1379612.git linkedin_group_posts

Maybe there was an update to the drupal git repository.

I'm able to review again, so this is all set.

I don't think the new webgit

Posted by patrickd on January 18, 2012 at 8:36am

I don't think the new webgit is not as intuitive as the old one, it's just a new look and feel you have to get used to

try this to show all branches:
git branch -a

Then, to checkout one of the

Posted by BrockBoland on January 19, 2012 at 3:24pm

Then, to checkout one of the branches you see, like 7.x-1.x:

git checkout -t origin/7.x-1.x

This will create a local 7.x-1.x branch attached to the remote one.

Code review for security advisory coverage applications

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /