Take the 2008 Git User's Survey and help out! [ hide ]

public
Fork of chad/gitjour
Description: Serve git and advertise with bonjour
Homepage: http://rubyforge.org/projects/gitjour
Clone URL: git://github.com/dustin/gitjour.git
Search Repo:
Remove trailing slash from clone destination argument.

With the trailing slash I get an error that looks like this:

    fatal: could not create work tree dir 'gitjour/'.

Works fine without.
dustin (author)
Thu Jul 03 14:06:02 -0700 2008
commit  a270214b0e4e6dc9f9406878446e9ab25f5dc1b8
tree    3bcf0edb8c4e963a43f9a88e5772364d98d841c1
parent  465921a6518d34b3d34d3ae0b3dd30493b054bf5
...
52
53
54
55
 
56
57
58
...
52
53
54
 
55
56
57
58
0
@@ -52,7 +52,7 @@ module Gitjour
0
 
0
         puts "Connecting to #{service.host}:#{service.port}"
0
 
0
- system "git clone git://#{service.host}:#{service.port}/ #{dir}/"
0
+ system "git clone git://#{service.host}:#{service.port}/ #{dir}"
0
       end
0
 
0
       def remote(repository_name, *rest)

Comments

    No one has commented yet.