webchick.net

very helpful lioness

git

Using Git bisect to figure out when brokenness was introduced

Sun, 10/02/2011 - 14:35 -- webchick

I did a fresh installation of Drupal 8 this morning and came across a bit of ugliness: an ugly grey border on the home page, caused by an empty div being inserted into the page:

Default front page showing a mysterious empty, grey-bordered box

My last fresh install of Drupal 8 was about a week ago and didn't have this problem. I didn't relish the idea of going through all of the commits since then one-by-one to figure out where this bug was introduced.

Enter the git bisect command! The git bisect command works by performing a "binary" search between one state of the code and the other in order to find, by process of elimination, where a given problem was introduced. It's quick, it's easy, and by golly it just works!

Here's how to use git bisect, step-by-step!

Tags: 

Contribute code to Drupal.org? The Git migration team needs your feedback!

Wed, 12/22/2010 - 13:11 -- webchick

http://groups.drupal.org/node/114264 contains very important information that affects everyone who currently contributes or plans to contribute code to Drupal.org post-Git migration.

The Git migration team is urgently looking for feedback on this proposal from as many contributors as possible, so please ponder it over the holidays and chime in with your thoughts.

(Comments disabled here, because you should be commenting over there :))

Subscribe to RSS - git