diff --git a/.gitignore b/.gitignore index 4dec9bf3d79aeab9a9a982342256f2f9d1602af0..d7b62d259e31fa883396a50f7c98df38780996d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -vcsh.1 *.patch *.swp .swp diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..cedf4fae5a3ae9afe9e68be73b38a395f5b9dde6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: perl +before_install: + - cpanm Shell::Command + - cpanm Test::Most + - apt-get moo +install: + - sudo apt-get install cowsay git ruby-ronn +script: + - make test +after_script: + - make moo +notifications: + email: + on_success: change + on_failure: always diff --git a/CONTRIBUTORS b/CONTRIBUTORS index d7a3394767a47d8d5d865a9ed2fb422797d7f438..cf2861986588825c01ad5b5a749c4847e3eee7d1 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -11,6 +11,7 @@ Jeff Fein-Worton <jeff@fein-worton.com> Thomas Ferris Nicolaisen <tfnico@gmail.com> martin f. krafft <madduck@madduck.net> Alessandro Ghedini <alessandro@ghedini.me> +Dennis Gilmore <dennis@ausil.us> Thorsten Glaser <tg@mirbsd.org> G.raud <graud@gmx.com> Mikhail Gusarov <dottedmag@dottedmag.net> @@ -33,6 +34,7 @@ Andrew Schwartzmeyer <andrew@schwartzmeyer.com> Dato Simó <dato@net.com.org.es> Alexander Skurikhin <a.skurihin@gmail.com> Jonathan Sternberg <jonathansternberg@gmail.com> +Mathias Svensson <freaken@freaken.dk> Frank Terbeck <ft@bewatermyfriend.org> mirabilos <tg@debian.org> Aaron VonderHaar <gruen0aermel@gmail.com> diff --git a/Makefile b/Makefile index ca6ebe681a99ac4f85d78d4ccd0974d4b4d7d413..b15779de0526bbf8190fa0cfd9cd5b628bb1612a 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ RONN ?= ronn self=vcsh manpages=$(self).1 -all=test manpages +all=test all: $(all) @@ -40,11 +40,12 @@ uninstall: purge: uninstall rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/bin/ rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/man/man1/ - rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(DOCDIR_PREFIX) + rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(DOCDIR) rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(ZSHDIR) test: - @if which git > /dev/null ; then :; else echo "'git' not found, exiting..."; exit 1; fi + @if which git > /dev/null; then : ; else echo "'git' not found, exiting..." ; exit 1; fi + @if which prove > /dev/null; then prove; else echo "'prove' not found; not running tests"; fi moo: - @ which cowsay >/dev/null 2>&1 && cowsay "I hope you're happy now..." + @which cowsay >/dev/null 2>&1 && cowsay "I hope you're happy now..." diff --git a/README.md b/README.md index 763b7c462d39d0e496d11cc22121f5a96d155c02..f885b4a3cb1ad8097e451be32ac5582accea72df 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ vcsh - Version Control System for $HOME - multiple Git repositories in $HOME +[](https://travis-ci.org/RichiH/vcsh) + # Index diff --git a/changelog b/changelog index 9cc6c16f689d3fc74ccd257ade7a89b76d101133..6f23d0f506739a77e974c4229ddfdf14b8b63074 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,12 @@ +2015-05-02 Richard Hartmann <richih.mailinglist@gmail.com> + + * Release 1.20150502 + * Add tests + * Integrate tests with Travis CI + * Make `vcsh --list_untracked` GNU-independent + * Improve vcsh's code quality + * Improve Makefile, documentation, etc + 2014-10-26 Richard Hartmann <richih.mailinglist@gmail.com> * Release 1.20141026 diff --git a/doc/INSTALL.md b/doc/INSTALL.md index 29c9889194866fd66a256374e406a799cdd2dd7b..65fc5f3b48adc256f6143d72494e23faae1d3367 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -14,6 +14,12 @@ There are no other dependencies other than `git`, `ronn` and a POSIX shell. sudo make install +## Installing without root privileges ## + + make install DESTDIR=/home/myuser/local + +or simply copy the shell script into any place you like, e.g. `~/bin` + # Uninstalling # diff --git a/doc/vcsh.1.ronn b/doc/vcsh.1.ronn index 1d432c3a0f6001753d601bd673366bff921af42c..cd73ca8b04a8d2cb0d365c552d26965d6ab09983 100644 --- a/doc/vcsh.1.ronn +++ b/doc/vcsh.1.ronn @@ -17,7 +17,7 @@ vcsh(1) - Version Control System for $HOME - multiple Git repositories in $HOME `vcsh` list -`vcsh` list-tracked [<rpoe>] +`vcsh` list-tracked [<repo>] `vcsh` list-untracked [<-r>] [<repo>] diff --git a/t/000-tear-env.t b/t/000-tear-env.t new file mode 100644 index 0000000000000000000000000000000000000000..6cb384f15bc061378cc8f78e4ec5d6caa74c2aa1 --- /dev/null +++ b/t/000-tear-env.t @@ -0,0 +1,17 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Shell::Command; +use Test::Most; + +chdir 't' or die $!; + +if (!-d 'etc') { + plan skip_all => 'No need to tear down previous env.'; +} + +ok rm_rf 'etc'; + +done_testing; diff --git a/t/001-setup-env.t b/t/001-setup-env.t new file mode 100644 index 0000000000000000000000000000000000000000..fb59f058e3f04826ced8230617f2e6e818f18ae3 --- /dev/null +++ b/t/001-setup-env.t @@ -0,0 +1,19 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Test::Most; + +system ("mkdir -p t/etc"); +ok !$?; + +system ("mkdir -p t/etc/.vcsh_home"); +ok !$?; + +chdir 't/etc/' or die $!; + +system ("ln -s '../../vcsh'"); +ok !$?; + +done_testing; diff --git a/t/100-init.t b/t/100-init.t new file mode 100644 index 0000000000000000000000000000000000000000..f2b3a05155b66cfeb7c124d79cf97168b5cb7043 --- /dev/null +++ b/t/100-init.t @@ -0,0 +1,54 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Cwd 'abs_path'; +use Test::Most; + +chdir 't/etc/' or die $!; + +$ENV{'HOME'} = abs_path ('.vcsh_home'); + +my $output = `./vcsh status`; + +ok $output eq "", 'No repos set up yet.'; + +$output = `./vcsh init test1`; + +ok $output eq "Initialized empty shared Git repository in " . $ENV{'HOME'} . "/.config/vcsh/repo.d/test1.git/\n"; + +$output = `./vcsh status`; + +ok $output eq "test1:\n\n", 'Our new repo is there'; + +chdir $ENV{"HOME"} . '/.config/vcsh/repo.d/test1.git/' or die $!; + +ok -f 'HEAD'; +ok -d 'branches'; +ok -f 'config'; +ok -f 'description'; +ok -d 'hooks'; +ok -d 'info'; +ok -d 'objects'; +ok -d 'refs'; + +ok -f 'hooks/applypatch-msg.sample'; +ok -f 'hooks/commit-msg.sample'; +ok -f 'hooks/post-update.sample'; +ok -f 'hooks/pre-applypatch.sample'; +ok -f 'hooks/pre-commit.sample'; +ok -f 'hooks/pre-push.sample'; +ok -f 'hooks/pre-rebase.sample'; +ok -f 'hooks/prepare-commit-msg.sample'; +ok -f 'hooks/update.sample'; + +ok -f 'info/exclude'; + +ok -d 'objects/info'; +ok -d 'objects/pack'; + +ok -d 'refs/heads'; +ok -d 'refs/tags'; + +done_testing; diff --git a/t/300-add.t b/t/300-add.t new file mode 100644 index 0000000000000000000000000000000000000000..24d9a8ae8742f9ae37204fcadccbe430bbbeb601 --- /dev/null +++ b/t/300-add.t @@ -0,0 +1,33 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Cwd 'abs_path'; + +use Shell::Command; +use Test::Most; + +chdir 't/etc/' or die $!; + +$ENV{'HOME'} = abs_path ('.vcsh_home'); + +chdir '.vcsh_home' or die $!; + +eval { + touch 'a'; +}; + +die $@ if $@; + +system (".././vcsh test1 add 'a'"); + +my $output = `.././vcsh status`; + +ok $output eq "test1: +A a + +", 'Adding a file works'; + +done_testing; + diff --git a/t/950-delete.t b/t/950-delete.t new file mode 100644 index 0000000000000000000000000000000000000000..cd078714ad0c3c7396bc88c89966dd32f7ee0ed7 --- /dev/null +++ b/t/950-delete.t @@ -0,0 +1,19 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Cwd 'abs_path'; +use Test::Most; + +chdir 't/etc/' or die $!; + +$ENV{'HOME'} = abs_path ('.vcsh_home'); + +system ("echo 'Yes, do as I say' | ./vcsh delete test1"); + +my $output = `./vcsh status`; + +ok $output eq "", 'No repos set up anymore.'; + +done_testing; diff --git a/t/999-tear-env.t b/t/999-tear-env.t new file mode 100644 index 0000000000000000000000000000000000000000..afe261a8a5ba3f10ec45a2f6b15d711743132ec9 --- /dev/null +++ b/t/999-tear-env.t @@ -0,0 +1,17 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Shell::Command; +use Test::Most; + +chdir 't' or die $!; + +if (!-d 'etc') { + plan skip_all => 'No need to tear previous env.'; +} + +ok rm_rf 'etc'; + +done_testing; diff --git a/tools/hooks/pre-commit b/tools/hooks/pre-commit new file mode 100755 index 0000000000000000000000000000000000000000..ddb0550d640a1b4bd901877b090df5278df7e729 --- /dev/null +++ b/tools/hooks/pre-commit @@ -0,0 +1,7 @@ +#!/bin/sh + +# Unfortunately, Git decided to set those two during pre-commit +unset GIT_DIR +unset GIT_INDEX_FILE + +prove diff --git a/vcsh b/vcsh index 0f2c5af7373af05fa9a0510ff6173df44ac31ab7..ab79db254bf53ffe94b03feb98e9b0bd2e4ad49c 100755 --- a/vcsh +++ b/vcsh @@ -19,7 +19,7 @@ # If '.git-HEAD' is appended to the version, you are seeing an unreleased # version of vcsh; the master branch is supposed to be clean at all times # so you can most likely just use it nonetheless -VERSION='1.20141026' +VERSION='1.20150502' SELF=$(basename $0) fatal() { @@ -312,7 +312,7 @@ list_untracked_helper() { cp $temp_file_others $temp_file_untracked || fatal 'Could not copy temp file' fi cp $temp_file_untracked $temp_file_untracked_copy || fatal 'Could not copy temp file' - comm -12 --nocheck-order $temp_file_others $temp_file_untracked_copy > $temp_file_untracked + comm -12 $temp_file_others $temp_file_untracked_copy > $temp_file_untracked } pull() { diff --git a/vcsh.1 b/vcsh.1 new file mode 100644 index 0000000000000000000000000000000000000000..9f2484227fed749eb88fb450ca1b8d0e8d63e322 --- /dev/null +++ b/vcsh.1 @@ -0,0 +1,378 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "VCSH" "1" "October 2014" "" "" +. +.SH "NAME" +\fBvcsh\fR \- Version Control System for $HOME \- multiple Git repositories in $HOME +. +.SH "SYNOPSIS" +\fBvcsh\fR [\fIoptions\fR] \fIcommand\fR +. +.P +\fBvcsh\fR clone [\-b \fIbranch\fR] \fIurl\fR [\fIrepo\fR] +. +.P +\fBvcsh\fR delete \fIrepo\fR +. +.P +\fBvcsh\fR enter \fIrepo\fR +. +.P +\fBvcsh\fR help +. +.P +\fBvcsh\fR init \fIrepo\fR +. +.P +\fBvcsh\fR list +. +.P +\fBvcsh\fR list\-tracked [\fIrpoe\fR] +. +.P +\fBvcsh\fR list\-untracked [\fI\-r\fR] [\fIrepo\fR] +. +.P +\fBvcsh\fR pull +. +.P +\fBvcsh\fR push +. +.P +\fBvcsh\fR rename \fIrepo\fR \fInewname\fR +. +.P +\fBvcsh\fR run \fIrepo\fR \fIshell command\fR +. +.P +\fBvcsh\fR status [\fIrepo\fR] +. +.P +\fBvcsh\fR upgrade \fIrepo\fR +. +.P +\fBvcsh\fR version +. +.P +\fBvcsh\fR which \fIsubstring\fR +. +.P +\fBvcsh\fR write\-gitignore \fIrepo\fR +. +.P +\fBvcsh\fR \fIrepo\fR \fIgit command\fR +. +.P +\fBvcsh\fR \fIrepo\fR +. +.SH "DESCRIPTION" +\fBvcsh\fR allows you to have several \fBgit\fR(1) repositories, all maintaining their working trees in $HOME without clobbering each other\. That, in turn, means you can have one repository per config set (zsh, vim, ssh, etc), picking and choosing which configs you want to use on which machine\. +. +.P +\fBvcsh\fR is using a technique called fake bare Git repositories, keeping \fI$GIT_DIR\fR in a different directory from \fI$GIT_WORK_TREE\fR which is pointed to \fI$HOME\fR\. +. +.P +The use of symlinks is not needed in this setup, making for a cleaner setup\. +. +.P +\fBvcsh\fR was designed with \fBmr\fR(1) in mind so you might want to install it alongside vcsh\. That being said, you can easily use \fBvcsh\fR without \fBmr\fR if you prefer\. +. +.P +A sample configuration for \fBvcsh\fR and \fBmr\fR can be found at \fIhttps://github\.com/RichiH/vcsh_mr_template\fR and used with \fBvcsh clone https://github\.com/RichiH/vcsh_mr_template mr\fR\. +. +.P +Please note that you can always use a path instead of a name for \fIrepo\fR\. This is needed to support mr and other scripts properly and of no concern to an interactive user\. +. +.SH "OPTIONS" +. +.TP +\-c +Source \fIfile\fR prior to other configuration files +. +.TP +\-d +Enable debug mode +. +.TP +\-v +Enable verbose mode +. +.SH "COMMANDS" +. +.TP +clone +Clone an existing repository\. +. +.IP +If you need to clone a bundle of repositories, look into the \fBpost\-clone\-retired\fR hook\. +. +.IP +You can also use a single git repository with several branches\. Use the \fB\-b\fR option to specify a branch at clone time, the default is \fBmaster\fR\. +. +.TP +commit +Commit in all repositories +. +.TP +delete +Delete an existing repository\. +. +.TP +enter +Enter repository; spawn new \fI$SHELL\fR\. +. +.TP +help +Display help\. +. +.TP +init +Initialize an empty repository\. +. +.TP +list +List all local vcsh repositories\. +. +.TP +list\-tracked +List all files tracked by vcsh\. +. +.IP +If you want to list files tracked by a specific repository, simply append the repository\'s name last\. +. +.TP +list\-tracked\-by +List files tracked by a repository\. +. +.IP +This is a legacy command; you should use \fBlist\-tracked <repo>\fR instead\. +. +.TP +list\-untracked +List all files NOT tracked by vcsh\. +. +.IP +By default, the file list is shallow and stops at directory levels where possible\. If you prefer to get a list of all files, append \fB\-r\fR for recursive mode\. +. +.IP +If you want to list files not tracked by a specific repository, simply append the repository\'s name last\. +. +.TP +pull +Pull from all vcsh remotes\. +. +.TP +push +Push to all vcsh remotes\. +. +.TP +rename +Rename a repository\. +. +.TP +run +Run command with \fI$GIT_DIR\fR and \fI$GIT_WORK_TREE\fR set\. Allows you to run any and all commands without any restrictions\. Use with care\. +. +.IP +Please note that there is a somewhat magic feature for run\. Instead of \fIrepo\fR it accepts \fIpath\fR, as well\. Anything that has a slash in it will be assumed to be a path\. \fBvcsh run\fR will then operate on this directory instead of the one normally generated from the repository\'s name\. This is needed to support mr and other scripts properly and of no concern to an interactive user\. +. +.TP +status +Show statuses of all/one vcsh repositories\. +. +.TP +upgrade +Upgrade repository to currently recommended settings\. +. +.TP +version +Print version information\. +. +.TP +which \fIsubstring\fR +Find \fIsubstring\fR in name of any tracked file\. +. +.TP +write\-gitignore +Write \.gitignore\.d/\fIrepo\fR via \fBgit ls\-files\fR\. +. +.TP +\fIrepo\fR \fIgitcommand\fR +Shortcut to run \fBvcsh\fR on a repo\. Will prepend \fBgit\fR to \fIcommand\fR\. +. +.TP +\fIrepo\fR +Shortcut to run \fBvcsh enter <repo>\fR\. +. +.SH "ENVIRONMENT" +As noted earlier, \fBvcsh\fR will set \fI$GIT_DIR\fR and \fI$GIT_WORK_TREE\fR to the appropriate values for fake bare Git repositories\. +. +.SH "CONFIG" +There are several ways to turn the various knobs on \fBvcsh\fR\. In order of ascending precedence, they are: +. +.IP "\(bu" 4 +\fBVARIABLE=foo vcsh\fR +. +.IP "\(bu" 4 +</etc/vcsh/config> +. +.IP "\(bu" 4 +<$XDG_CONFIG_HOME/vcsh/config> +. +.IP "\(bu" 4 +\fBvcsh \-c <file>\fR +. +.IP "" 0 +. +.P +Please note that those files are sourced\. Any and all commands will be executed in the context of your shell\. +. +.P +Interesting knobs you can turn: +. +.TP +\fI$VCSH_GITATTRIBUTES\fR +Can be \fInone\fR, or any other value\. +. +.IP +\fInone\fR will not maintain Git attributes in a special location\. +. +.IP +If set to any other value, repo\-specific gitattributes files will be maintained\. +. +.IP +Defaults to \fInone\fR\. +. +.TP +\fI$VCSH_GITIGNORE\fR +Can be \fIexact\fR, \fInone\fR, or \fIrecursive\fR\. +. +.IP +\fIexact\fR will seed the repo\-specific ignore file with all file and directory names which \fBgit ls\-files\fR returns\. +. +.IP +\fInone\fR will not write any ignore file\. +. +.IP +\fIrecursive\fR will descend through all directories recursively additionally to the above\. +. +.IP +Defaults to \fIexact\fR\. +. +.TP +\fI$VCSH_VCSH_WORKTREE\fR +Can be \fIabsolute\fR, or \fIrelative\fR\. +. +.IP +\fIabsolute\fR will set an absolute path; defaulting to \fI$HOME\fR\. +. +.IP +\fIrelative\fR will set a path relative to \fI$GIT_DIR\fR\. +. +.IP +Defaults to \fIabsolute\fR\. +. +.P +Less interesting knobs you could turn: +. +.TP +\fI$VCSH_DEBUG\fR +Enter debug mode\. +. +.TP +\fI$XDG_CONFIG_HOME\fR +As specified in the \'XDG Base Directory Specification\', see \fIhttp://standards\.freedesktop\.org/basedir\-spec/basedir\-spec\-latest\.html\fR +. +.IP +Defaults to <$HOME/\.config>\. +. +.TP +\fI$VCSH_REPO_D\fR +The directory where repositories are read from and stored\. +. +.IP +Defaults to <$XDG_CONFIG_HOME/vcsh/repo\.d>\. +. +.TP +\fI$VCSH_HOOK_D\fR +The directory where hooks are read from\. +. +.IP +Defaults to <$XDG_CONFIG_HOME/vcsh/hooks\-enabled>\. +. +.TP +\fI$VCSH_BASE\fR +The directory where repositories are checked out to\. +. +.IP +Defaults to \fI$HOME\fR\. +. +.SH "HOOK SYSTEM" +\fBvcsh\fR provides a hook system\. Hook scripts must be executable and should be placed in <$XDG_CONFIG_HOME/vcsh/hooks\-available>\. From there, they can be soft\-linked into <$XDG_CONFIG_HOME/vcsh/hooks\-enabled>; \fBvcsh\fR will only execute hooks that are in this directory\. +. +.P +Hooks follow a simple format\. \fIpre\-run\fR will be run before anything is run\. If you want to have more than one script for a certain hook, just append any kind of string to order them\. A system of \fIpre\-run\fR, <pre\-run\.10>, <pre\-run\.20> etc is suggested; other options would be \fIpre\-run\-10\fR or <pre\-run\.sh>\. A dot after the hook name is optional\. +. +.P +If you want to create hooks for a specific \fIvcsh\fR repository, simply prepend the repository\'s name, followed by a dot, i\.e\. <zsh\.pre\-run>\. Otherwise, the same rules as above apply\. The dot between the repository\'s name and the hook is mandatory, though\. +. +.P +Available hooks are \fIpre\-clone\fR, \fIpost\-clone\fR, \fIpost\-clone\-retired\fR, \fIpre\-command\fR, \fIpost\-command\fR, \fIpre\-enter\fR, \fIpost\-enter\fR, \fIpre\-init\fR, \fIpost\-init\fR, \fIpre\-pull\fR, \fIpost\-pull\fR, \fIpre\-push\fR, \fIpost\-push\fR, \fIpre\-run\fR, \fIpost\-run\fR, \fIpre\-upgrade\fR, and \fIpost\-upgrade\fR\. If you need more, vcsh is trivial to patch, but please let upstream know so we can ship them by default\. +. +.SH "OVERLAY SYSTEM" +\fBvcsh\fR also provides an overlay system\. Similar to hooks, the recommended locations are <$XDG_CONFIG_HOME/vcsh/overlays\-available> and <$XDG_CONFIG_HOME/vcsh/overlays\-enabled>\. +. +.P +Overlays follow the same rules as hooks and you are free to overwrite any and all functions\. Same as hooks, you can use global or repository\-specific overlays by using either <$VCSH_OVERLAY_D/$VCSH_COMMAND> or <$VCSH_OVERLAY_D/$VCSH_REPO_NAME\.$VCSH_COMMAND>\. +. +.P +Please note that nothing stops you from, e\.g\. overwriting \fBstatus()\fR in <$VCSH_OVERLAY_D/commit>\. As the overlays will be sourced and you are replacing arbitrary functions, any and all features may stop working, or you may even lose data\. +. +.P +You have been warned\. +. +.SH "DETAILED HOWTO AND FURTHER READING" +Manpages are often short and sometimes useless to glean best practices from\. While the author tried to avoid this in this case, manpages can not cover detailed howtos\. +. +.P +This software also comes with a file called <README\.md>\. It contains various approaches to setting up and using vcsh\. You can view the file it as plain text or render it into various other formats via Markdown\. +. +.P +On Debian\-based systems, this file can be found in </usr/share/doc/vcsh>\. +. +.SH "SECURITY CONSIDERATIONS" +\fBvcsh\fR allows you to execute arbitrary commands via \fBvcsh run\fR\. For example, adding a \fBsudo\fR(8) rule for \fBvcsh\fR would be pretty stupid\. +. +.P +Additionally, vcsh will source, i\.e\. execute, all files listed in \fICONFIG\fR\. You can put any and all commands into these config files and they will be executed\. +. +.SH "BUGS" +None are known at this time, but reports and/or patches are more than welcome\. +. +.SH "INTEROPERABILITY" +If you rely on \fBgit submodule\fR use \fBgit\fR 1\.7\.12 or later\. Earlier versions do not clean internal variables properly before descending into submodules, resulting in unhappy end users\. +. +.SH "HISTORY" +Like most people, the author initially made do with a single repository for all config files, all of which were soft\-linked into \fI$HOME\fR\. +. +.P +Martin F\. Krafft aka madduck came up with the concept of fake bare Git repositories\. +. +.P +vcsh was initally written by madduck\. This version is a re\-implementation from scratch with a lot more features\. madduck graciously agreed to let the author take over the name\. +. +.SH "AUTHOR" +This manpage and \fBvcsh\fR itself were written by Richard "RichiH" Hartmann\. +. +.SH "COPYRIGHT" +Copyright 2011\-2013 Richard Hartmann \fIrichih@debian\.org\fR +. +.P +Licensed under the GNU GPL version 2 or higher\. +. +.P +https://github\.com/RichiH/vcsh +. +.SH "SEE ALSO" +\fBgit\fR(1), \fBmr\fR(1)