carlhuda/bundler — pull request #1979 by phil-monroe (2012-06-12 18:45:51+00:00)
Title: Local Git override requires :branch, :tag or :ref instead of just :branch

This pull request is very similar to #1810. It requires that a developer must supply a :branch, :tag, or :ref option to a git based gem in a Gemfile. It also removes the requirement that the local version of the included gem must be on the same branch as the fallback.

The reasoning behind this change is to allow developers to use more than just a branch to safeguard deployed code while also letting developers to make changes on feature branches of included gems. I could see an additional config flag, much like #1810, to enable waiving the same branch requirement and I can put that in if needed.

**Note:** There is one failing test that is unrelated. The cause is mentioned in Issue #1605