public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
don't apply with --index by default, as this seems to cause more problems 
than it solves currently (in the future, would be nice to auto detect 
which strategy to use)
timcharper (author)
Wed Jul 23 12:03:05 -0700 2008
commit  1900ade2a306bd92b8d5540d25852f8097c7d2d1
tree    88a98eda74ba803db89b110da77ed006951b2efc
parent  623981c81a22a2052a797e50f16816dc78ae8e27
...
22
23
24
25
 
 
 
 
26
27
28
29
 
 
 
 
 
30
31
32
...
22
23
24
 
25
26
27
28
29
30
 
 
31
32
33
34
35
36
37
38
0
@@ -22,11 +22,17 @@ class SCM::Git::Stash < SCM::Git::CommandProxyBase
0
   end
0
   
0
   def apply(name)
0
- base.command("stash", "apply", "--index", name)
0
+ args = ["stash", "apply"]
0
+ args << "--index" if options[:index]
0
+ args << name
0
+ base.command(*args)
0
   end
0
   
0
- def pop(name)
0
- base.command("stash", "pop", "--index", name)
0
+ def pop(name, options = {})
0
+ args = ["stash", "pop"]
0
+ args << "--index" if options[:index]
0
+ args << name
0
+ base.command(*args)
0
   end
0
   
0
   def clear

Comments

    No one has commented yet.