X-Git-Url: https://git.ao2.it/config/vcsh.git/blobdiff_plain/e7109b26ca3742d660d77df5a94326297f00eaa0..6f9082f6cf2b819ed8d1f9b7da825e546d3d8b4a:/README diff --git a/README b/README index bc44f6e..c862f7d 100644 --- a/README +++ b/README @@ -1,14 +1,16 @@ vcsh configuration to handle collisions of files common to distinct vcsh repositories using the sparse-checkout functionality of git. +Based on John Whitley's setup at https://github.com/jwhitley/vcsh-root + The patterns for the colliding files are in .config/vcsh/sparse-checkout and a pre-upgrade hook is used to make vcsh repositories use it. Many git commands (e.g. git-merge, git-checkout) will automatically use the information in $GIT_DIR/info/sparse-checkout when dealing with files in the -git work directory, so generally a calling git-read-tree explicitly is not +git working tree, so generally a calling git-read-tree explicitly is not needed. However when the content of $GIT_DIR/info/sparse-checkout changes it is necessary to call "git read-tree -mu HEAD" to update the content of the -working directory. +working tree.