diff options
author | Björn Gustavsson <[email protected]> | 2009-12-03 22:17:19 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2009-12-04 15:11:50 +0100 |
commit | f226ff725e0f901d796bb0b41527d4167f719be5 (patch) | |
tree | 923504ff8f7175f02cad9028f3555acf9085db21 | |
parent | 706a2647c16909fae1917a5c85d6b6f8a8a0f437 (diff) | |
download | otp-f226ff725e0f901d796bb0b41527d4167f719be5.tar.gz otp-f226ff725e0f901d796bb0b41527d4167f719be5.tar.bz2 otp-f226ff725e0f901d796bb0b41527d4167f719be5.zip |
Add create-topic-branches
-rwxr-xr-x | create-topic-branches | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/create-topic-branches b/create-topic-branches new file mode 100755 index 0000000000..368711e6c6 --- /dev/null +++ b/create-topic-branches @@ -0,0 +1,10 @@ +#!/usr/bin/perl -w +use strict; + +my $range = ""; +$range = shift if @ARGV; + +foreach (`git log --oneline --first-parent $range`) { + next unless /^([\da-f]+) Merge branch '([^\']*)'/; + print "git branch $2 $1^2\n"; +} |