Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
starting conspire causes an initial commit so you can pull into the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jul 25, 2008
1 parent cd33028 commit 5a7b87e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/conspire.rb
Expand Up @@ -22,7 +22,8 @@ def start(path, options)
@options = options @options = options
@path = path @path = path
Gitjour::Application.init @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 @thread = Thread.new do
Gitjour::Application.serve(@path, @options.name, @options.port) Gitjour::Application.serve(@path, @options.name, @options.port)
end end
Expand Down
2 changes: 1 addition & 1 deletion lib/conspire/support/conspire.el
Expand Up @@ -69,7 +69,7 @@ If the current buffer isn't part of a conspiracy session, a new
session will be started." session will be started."
:lighter "-conspire" :lighter "-conspire"
(unless (file-exists-p (concat (file-name-directory buffer-file-name) (unless (file-exists-p (concat (file-name-directory buffer-file-name)
".git/conspire")) ".conspire"))
(shell-command (format "conspire %s >& /dev/null &" (shell-command (format "conspire %s >& /dev/null &"
(file-name-directory buffer-file-name)))) (file-name-directory buffer-file-name))))
(setq conspire-timer (setq conspire-timer
Expand Down
Empty file removed repo/foo
Empty file.

0 comments on commit 5a7b87e

Please sign in to comment.