commit | 7dc46429896d6292d71391ff7e5f95fec1370b51 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Fri Feb 01 19:06:56 2008 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Feb 01 19:08:14 2008 -0800 |
tree | 330205405f9c88d18e5577de437e1f7883e6437b | |
parent | 0509eb216fef9451845376d8c92ff585994aecd8 [diff] |
Fix "git checkout -b foo ':/substring'" Because ':/substring' extended SHA1 expression cannot take postfix modifiers such as ^{tree} and ^{commit}, we would need to do it in multiple steps. With the patch, you can start a new branch from a randomly-picked commit whose message has the named string in it. Signed-off-by: Junio C Hamano <gitster@pobox.com>