Keep worktree relative to GIT_DIR

core.worktree can be set relatively to GIT_DIR, thereby preventing the
hard-coding of the home directory path, which should make a vcsh setup
more portable.

On the other hand, this means that the vcsh repo.d is now invariably
linked to its position, relative to the base directory. Apply this patch
only if you think it to be less likely that people change
~/.config/vcsh/repo.d to something else, than they would rsync/tar/mv
a whole tree to a different $HOME.

Paths are resolved using Git itself, for maximum portability.

In addition to making sure the new method works on new repositories,
I checked that

  - "old" repositories can be used with the new code just fine;
  - upgrading works.

Signed-off-by: martin f. krafft <madduck@madduck.net>
Get rid of GIT_WORK_TREE during vcsh sessions

This patch gets rid of GIT_WORK_TREE completely, which makes the whole thing a
bit more transparent, I find. Git uses core.worktree anyway, so the
environment variable isn't needed.

Signed-off-by: martin f. krafft <madduck@madduck.net>
vcsh: Implement shortnames for commands

    vcsh st

will now expand to

    vcsh status
Merge remote-tracking branch 'madduck/relative_worktrees' into merge--madduck/relative_worktree
vcsh: Add support for choosing relative or absolute core.worktree
Merge branch 'merge--madduck/relative_worktree'

Github: Fixes richih/vcsh#26
vcsh: Move up gitignore check
Release v1.20130909
vcsh: Support *BSD/OSX mktemp

mktemp on *BSD/OSX expects a template whereas GNU mktemp does not.
Pass a template to mktemp to make *BSD/OSX happy.

github: fixes richih/vcsh#83
vcsh: Add comments
Merge branch 'fix--mktemp_on_OSX'
vcsh: Make `vcsh version` print vcsh and git version information
Merge branch 'master' of github.com:RichiH/vcsh
Merge branch 'feature--shortnames'

Conflicts:
	vcsh
vcsh: Add git version information on all debug runs
vcsh: Add ".git-HEAD" to version number

This should make reporting bugs easier/more reliable.
Merge branch 'master' of github.com:RichiH/vcsh
updated docs to leave out run so it will be consistent
Make root tool configurable

On Macports one need to run ronn-1.9 instead of ronn. Therefore
make ronn tool configurable. one can now run

make RONN=ronn-1.9

to execute ronn-1.9 instead of the default ronn.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Make Makefile more configurable (doc and zsh dirs)

Some distributions expect the documentation in /usr/share/doc/name, and
others in /usr/share/doc/name-version. The zsh directory for completion
is also configurable due to differences between distributions.