Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
cvsserver: Reword documentation on necessity of write access
author
Frank Lichtenheld
<frank@lichtenheld.de>
Thu, 12 Apr 2007 14:43:36 +0000
(16:43 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 12 Apr 2007 22:03:56 +0000
(15:03 -0700)
Reworded the section about git-cvsserver needing to update the
database.
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-cvsserver.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
4db0c8d
)
diff --git
a/Documentation/git-cvsserver.txt
b/Documentation/git-cvsserver.txt
index 6a5fcfddb3759132cb5d515cbb97e790f15420ec..535214c4fdf83d8a320ccb485b3d0adbf39bb24f 100644
(file)
--- a/
Documentation/git-cvsserver.txt
+++ b/
Documentation/git-cvsserver.txt
@@
-114,8
+114,14
@@
git-cvsserver uses one database per git head (i.e. CVS module) to
store information about the repository for faster access. The
database doesn't contain any persitent data and can be completly
regenerated from the git repository at any time. The database
store information about the repository for faster access. The
database doesn't contain any persitent data and can be completly
regenerated from the git repository at any time. The database
-needs to be updated (i.e. written to) after every commit. That
-means that even if you offer only read access (e.g. by using
+needs to be updated (i.e. written to) after every commit.
+
+If the commit is done directly by using git (as opposed to
+using git-cvsserver) the update will need to happen on the
+next repository access by git-cvsserver, independent of
+access method and requested operation.
+
+That means that even if you offer only read access (e.g. by using
the pserver method), git-cvsserver should have write access to
the database to work reliably (otherwise you need to make sure
that the database if up-to-date all the time git-cvsserver is run).
the pserver method), git-cvsserver should have write access to
the database to work reliably (otherwise you need to make sure
that the database if up-to-date all the time git-cvsserver is run).
@@
-125,7
+131,7
@@
By default it uses SQLite databases in the git directory, named
temporary files in the same directory as the database file on
write so it might not be enough to grant the users using
git-cvsserver write access to the database file without granting
temporary files in the same directory as the database file on
write so it might not be enough to grant the users using
git-cvsserver write access to the database file without granting
-them
also write access to the directory
.
+them
write access to the directory, too
.
You can configure the database backend with the following
configuration variables:
You can configure the database backend with the following
configuration variables: