public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
cleaned up "not on a branch" message.  added a simple, but helpful branch 
suggestion section
timcharper (author)
Thu Aug 28 10:44:34 -0700 2008
commit  7314cf8455ae8d4566badc98de1b0bd4a08b89ea
tree    db91cc3ba12e0c80e71683350bd8a2d999f0b3f2
parent  aeff1068a4097acc7f4ee2f8ca1747a8a65383c1
...
1
2
3
4
5
6
 
 
 
7
...
1
 
2
3
 
4
5
6
7
8
0
@@ -1,5 +1,6 @@
0
 <h1>Eegad! You're not on a branch</h1>
0
-<h2>You could lose everything!</h2>
0
 <p>
0
   To make this commit, first checkout the branch you'd like to commit to, then make the commit.
0
-</p>
0
\ No newline at end of file
0
+</p>
0
+<h2>Suggested branches:</h2>
0
+<pre><%= git.command("branch", "--contains", "HEAD", "-a").gsub(/^.+no branch.*$/, "") %></pre>
0
\ No newline at end of file

Comments

    No one has commented yet.