Permalink
Browse files

starting conspire causes an initial commit so you can pull into the repo

  • Loading branch information...
1 parent cd33028 commit 5a7b87ee22d36b82fcbc6ecfeeff9a9ea15933c7 @technomancy committed Jul 25, 2008
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/conspire.rb
  2. +1 −1 lib/conspire/support/conspire.el
  3. 0 repo/foo
View
@@ -22,7 +22,8 @@ def start(path, options)
@options = options
@path = path
Gitjour::Application.init @path
- FileUtils.touch(@path + '/.git/conspire')
+ FileUtils.touch(@path + '/.conspire')
+ `cd #{@path}; git add .conspire; git commit -m "initial"`
@thread = Thread.new do
Gitjour::Application.serve(@path, @options.name, @options.port)
end
@@ -69,7 +69,7 @@ If the current buffer isn't part of a conspiracy session, a new
session will be started."
:lighter "-conspire"
(unless (file-exists-p (concat (file-name-directory buffer-file-name)
- ".git/conspire"))
+ ".conspire"))
(shell-command (format "conspire %s >& /dev/null &"
(file-name-directory buffer-file-name))))
(setq conspire-timer
View
No changes.

0 comments on commit 5a7b87e

Please sign in to comment.