public
Description: Provide a nicer looking web interface for ticgit
Clone URL: git://github.com/pope/ticgit-watchtower.git
Search Repo:
Now when using tiwatchtower, you need to specify the location of the git
repository
pope (author)
Sat May 10 12:49:08 -0700 2008
commit  b62f233340b3176e3b3ab78215fc91c455350c31
tree    47ae610431e75eb49560167ee58c090ffa2b1c94
parent  8af0e045f45b0690c20f6e330dd29b54ce965375
...
13
14
15
 
 
 
 
 
 
 
 
16
17
18
19
20
21
22
23
24
25
26
...
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
 
 
29
30
31
0
@@ -13,14 +13,19 @@
0
   end
0
 end
0
 
0
+unless ARGV[0]
0
+ $stderr.puts "You must specify a path to a git repository"
0
+ Process.exit
0
+end
0
+
0
+$ticgit = TicGit.open(ARGV[0].chomp)
0
+$yui_version = '2.5.1'
0
+
0
 get('/screen.css') do
0
   header 'Content-Type' => 'text/css; charset=utf-8'
0
   sass :screen
0
 end
0
 
0
-$yui_version = '2.5.1'
0
-$ticgit = TicGit.open('.')
0
-
0
 before do
0
   @saved = $ticgit.config['list_options'].keys rescue []
0
 end

Comments

    No one has commented yet.