public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
fixed an issue with committing files within git-submodules, or git 
repositories in a non-project-root path.
timcharper (author)
Sun Mar 23 23:57:34 -0700 2008
commit  cecfc582232ac9b7d51fe6c0544fc288ad892c82
tree    4b5cac007f2346d394a984a8b4977494ad7845b4
parent  c94ee5375b8e799e853a4d5c68ed3ea651661a1c
...
25
26
27
 
28
29
 
30
31
32
...
25
26
27
28
29
 
30
31
32
33
0
@@ -25,8 +25,9 @@ class CommitController < ApplicationController
0
   protected
0
       
0
     def run_partial_commit
0
+ @base = git.git_base
0
       target_file_or_dir = git.paths.first
0
- puts "<h1>Committing Files in ‘#{htmlize(shorten(target_file_or_dir, ENV['TM_PROJECT_DIRECTORY']))}’ on branch ‘#{htmlize(git.branch.current_name)}’</h1>"
0
+ puts "<h1>Committing Files in ‘#{htmlize(shorten(target_file_or_dir, ENV['TM_PROJECT_DIRECTORY'] || @base))}’ on branch ‘#{htmlize(git.branch.current_name)}’</h1>"
0
       flush
0
 
0
       files, statuses = [], []

Comments

    No one has commented yet.