note how you need to actually set the git_wrapper so that a regular --setup will create it

master
anarcat 2011-05-14 22:09:22 -04:00 committed by Joey Hess
parent 41e3be72d2
commit 0c461b335a
1 changed files with 2 additions and 2 deletions

View File

@ -39,10 +39,10 @@ repositories:
git does not support pushing to a repository that has a working git does not support pushing to a repository that has a working
directory. This is called _repository_ in [[ikiwiki-makerepo]]'s directory. This is called _repository_ in [[ikiwiki-makerepo]]'s
manual page. This bare repository has a `post-update` hook manual page. This bare repository has a `post-update` hook
that either is or calls ikiwiki's git wrapper, which changes to the that either is or calls ikiwiki's `git_wrapper`, which changes to the
working directory for ikiwiki, does a `git pull`, and refreshes ikiwiki working directory for ikiwiki, does a `git pull`, and refreshes ikiwiki
to regenerate the wiki with any new content. The [[setup]] page describes to regenerate the wiki with any new content. The [[setup]] page describes
how to do this. how to do this, but note, if you are importing from an existing git repository, that ikiwiki will not create the `git_wrapper` unless its path is explicitely set in your `.setup` file.
* The second repository is a clone of the bare root repository, and * The second repository is a clone of the bare root repository, and
has a working tree which is used as ikiwiki's srcdir for compiling has a working tree which is used as ikiwiki's srcdir for compiling