]> git.madduck.net Git - code/vcsh.git/log

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

code/vcsh.git
9 years agoFix tests
Richard Hartmann [Sat, 25 Oct 2014 23:04:13 +0000 (01:04 +0200)]
Fix tests

10 years agoMove repo deletion to the end...
Richard Hartmann [Thu, 9 Jan 2014 21:16:10 +0000 (22:16 +0100)]
Move repo deletion to the end...

10 years agot/300-add.t: Disable debug mode
Richard Hartmann [Thu, 9 Jan 2014 21:15:34 +0000 (22:15 +0100)]
t/300-add.t: Disable debug mode

10 years agovcsh add test
Errietta Kostala [Thu, 9 Jan 2014 12:15:52 +0000 (12:15 +0000)]
vcsh add test

10 years agomerge branch 'master' of github.com:RichiH/vcsh
Errietta Kostala [Tue, 7 Jan 2014 16:36:41 +0000 (16:36 +0000)]
merge branch 'master' of github.com:RichiH/vcsh

10 years agoUpdate CONTRIBUTORS
Richard Hartmann [Mon, 6 Jan 2014 02:06:40 +0000 (03:06 +0100)]
Update CONTRIBUTORS

10 years ago.gitignore: Ignore .swp
Richard Hartmann [Sun, 29 Dec 2013 16:41:12 +0000 (17:41 +0100)]
.gitignore: Ignore .swp

Opening Vim in $PWD without a file name (think scratch pad) will open
.swp, which is not matched by *.swp

10 years agosh: Bump version to 1.20131229.git-HEAD
Richard Hartmann [Sun, 29 Dec 2013 16:25:25 +0000 (17:25 +0100)]
sh: Bump version to 1.20131229.git-HEAD

10 years agoRelease v1.20131229
Richard Hartmann [Sun, 29 Dec 2013 16:22:24 +0000 (17:22 +0100)]
Release v1.20131229

10 years agovcsh: Improve comments
Richard Hartmann [Sun, 29 Dec 2013 00:54:00 +0000 (01:54 +0100)]
vcsh: Improve comments

10 years agovcsh: Typo
Richard Hartmann [Sun, 29 Dec 2013 00:51:14 +0000 (01:51 +0100)]
vcsh: Typo

10 years agoUse 'case' sh construct to shorten short commands' recognition
Mikhail Gusarov [Sat, 28 Dec 2013 16:41:53 +0000 (17:41 +0100)]
Use 'case' sh construct to shorten short commands' recognition

10 years agoUse "assign default values" sh feature to simplify defaults handling
Mikhail Gusarov [Sat, 28 Dec 2013 16:37:44 +0000 (17:37 +0100)]
Use "assign default values" sh feature to simplify defaults handling

10 years agovcsh: More resilient variable handling for 6b22746e94bf469dd462907fd43d13a454e56ede
Richard Hartmann [Sun, 29 Dec 2013 00:04:49 +0000 (01:04 +0100)]
vcsh: More resilient variable handling for 6b22746e94bf469dd462907fd43d13a454e56ede

10 years agoUse sh 'default value' expansion more idiomatic construct
Mikhail Gusarov [Sat, 28 Dec 2013 16:31:42 +0000 (17:31 +0100)]
Use sh 'default value' expansion more idiomatic construct

10 years agoREADME.md: Update Debian install directions
Richard Hartmann [Sat, 28 Dec 2013 15:21:32 +0000 (16:21 +0100)]
README.md: Update Debian install directions

10 years agoMerge pull request #101 from dastergon/add_gentoo_doc
Richard Hartmann [Sat, 28 Dec 2013 15:20:13 +0000 (07:20 -0800)]
Merge pull request #101 from dastergon/add_gentoo_doc

Add Gentoo installation in README

10 years agovcsh: Improve error message
Richard Hartmann [Sat, 28 Dec 2013 14:21:20 +0000 (15:21 +0100)]
vcsh: Improve error message

10 years agovcsh: Fix mktemp bug
Richard Hartmann [Sat, 28 Dec 2013 14:17:36 +0000 (15:17 +0100)]
vcsh: Fix mktemp bug

2650689d28f662e147d0be4c3ee248f873dbcc3c introduced a bug:
If we are using a template, GNU mktemp will use PWD instead of $TMPDIR

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Thu, 26 Dec 2013 20:23:11 +0000 (21:23 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agoadd Gentoo installation in README
Pavlos Ratis [Tue, 24 Dec 2013 22:33:18 +0000 (00:33 +0200)]
add Gentoo installation in README

10 years agoMerge pull request #98 from dottedmag/fix--echo-n-os-x
Richard Hartmann [Fri, 20 Dec 2013 22:34:54 +0000 (14:34 -0800)]
Merge pull request #98 from dottedmag/fix--echo-n-os-x

Use printf, not echo -n to print messages without newline

10 years agoUse printf, not echo -n to print messages without newline
Mikhail Gusarov [Wed, 18 Dec 2013 21:23:22 +0000 (22:23 +0100)]
Use printf, not echo -n to print messages without newline

OS X echo does not understand -n and prints it literally

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Wed, 18 Dec 2013 13:59:51 +0000 (14:59 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agoA few tests.
Errietta Kostala [Sun, 15 Dec 2013 23:12:46 +0000 (23:12 +0000)]
A few tests.

10 years agoMerge pull request #97 from Zearin/tables
Richard Hartmann [Tue, 17 Dec 2013 01:48:17 +0000 (17:48 -0800)]
Merge pull request #97 from Zearin/tables

README.md: Use GFM tables for Usage

10 years agoUse GFM table syntax for usage examples
Tony [Mon, 16 Dec 2013 19:27:56 +0000 (14:27 -0500)]
Use GFM table syntax for usage examples

Table syntax in GFM?  Oh, yes:
<https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#tables>

10 years agovcsh: Formatting
Richard Hartmann [Sat, 14 Dec 2013 10:12:17 +0000 (11:12 +0100)]
vcsh: Formatting

10 years agovcsh: Bump version to 1.20131214.git-HEAD
Richard Hartmann [Fri, 13 Dec 2013 23:25:36 +0000 (00:25 +0100)]
vcsh: Bump version to 1.20131214.git-HEAD

10 years agoRelease 1.20131214
Richard Hartmann [Fri, 13 Dec 2013 23:01:30 +0000 (00:01 +0100)]
Release 1.20131214

10 years agoRevert "Implement basename in shell"
Richard Hartmann [Mon, 9 Dec 2013 09:18:34 +0000 (10:18 +0100)]
Revert "Implement basename in shell"

This reverts commit 794f0aac869dda034300211e9be45db123d84377.

Conflicts:
vcsh

Turns out the shell implementation didn't account for trailing
slashes. While, arguably, a proper interactive shell should eat
them before execution anyway, this can also be called in script
context.

This means that

    vcsh clone foo/

made it fail and even after commit 7e33e38a869989d04d12f2ef160d514041eb01e3

    vcsh clone foo//

would have failed.

Revert to safe and time-proven default: Standalone `basename`.

For further information, see:

https://github.com/RichiH/vcsh/pull/92

10 years agoMerge remote-tracking branch 'archwyrm/clone-trailing-slash-fix'
Richard Hartmann [Mon, 9 Dec 2013 09:17:57 +0000 (10:17 +0100)]
Merge remote-tracking branch 'archwyrm/clone-trailing-slash-fix'

10 years agoFix missing blank repository name when cloning
Markus Martin [Sun, 1 Dec 2013 21:42:33 +0000 (16:42 -0500)]
Fix missing blank repository name when cloning

If the repository path given to 'vcsh clone' contains a trailing slash,
the resulting cloned directory will be '.git' and vcsh will not
recognize the cloned repository by name. This change ensures that a
trailing slash will be stripped and the repository name will be
populated.

The previous faulty behavior is due to the custom implementation of the
basename command first introduced in 794f0aac.

10 years agoFixed variable assignment bug in rename()
Rob Cornish [Mon, 25 Nov 2013 04:55:34 +0000 (15:55 +1100)]
Fixed variable assignment bug in rename()

10 years agoMakefile: Make `make test` silent
Richard Hartmann [Sun, 27 Oct 2013 17:55:29 +0000 (18:55 +0100)]
Makefile: Make `make test` silent

10 years agoMakefile: Avoid calling `dirname`
Richard Hartmann [Sun, 27 Oct 2013 17:54:53 +0000 (18:54 +0100)]
Makefile: Avoid calling `dirname`

10 years agoRemoved newline escape sequence that was not properly being obeyed anyway, was printi...
Caleb Maclennan [Sun, 20 Oct 2013 01:58:22 +0000 (19:58 -0600)]
Removed newline escape sequence that was not properly being obeyed anyway, was printing to the console as is. Not needed because the echo being used already terminates with a newline.

10 years agoCONTRIBUTORS: Add Caleb Maclennan
Richard Hartmann [Sun, 27 Oct 2013 11:45:54 +0000 (12:45 +0100)]
CONTRIBUTORS: Add Caleb Maclennan

10 years agoRemoved unnecessary syntax
Caleb Maclennan [Sun, 20 Oct 2013 01:28:18 +0000 (19:28 -0600)]
Removed unnecessary syntax

10 years agotools/list_CONTRIBUTORS, CONTRIBUTORS: Better wording
Richard Hartmann [Sun, 27 Oct 2013 11:34:20 +0000 (12:34 +0100)]
tools/list_CONTRIBUTORS, CONTRIBUTORS: Better wording

10 years agoCONTRIBUTORS: Update
Richard Hartmann [Sun, 27 Oct 2013 11:30:09 +0000 (12:30 +0100)]
CONTRIBUTORS: Update

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Sun, 27 Oct 2013 11:17:11 +0000 (12:17 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agoMerge commit 'ccf40b91a67127084ee81e875ee5b77b3b0f019d'
Richard Hartmann [Sun, 27 Oct 2013 11:16:27 +0000 (12:16 +0100)]
Merge commit 'ccf40b91a67127084ee81e875ee5b77b3b0f019d'

Conflicts:
Makefile

10 years agoMerge pull request #86 from xaocon/master
Richard Hartmann [Sun, 27 Oct 2013 11:09:51 +0000 (04:09 -0700)]
Merge pull request #86 from xaocon/master

updated docs to leave out run so it will be consistent

10 years agoMerge pull request #90 from Dridi/feature--makefile_dirs
Richard Hartmann [Sun, 27 Oct 2013 11:04:55 +0000 (04:04 -0700)]
Merge pull request #90 from Dridi/feature--makefile_dirs

Make Makefile more configurable (doc and zsh dirs)

10 years agoMake Makefile more configurable (doc and zsh dirs)
Dridi Boukelmoune [Tue, 22 Oct 2013 17:15:26 +0000 (19:15 +0200)]
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.

10 years agoMake root tool configurable
Gregor Jasny [Thu, 17 Oct 2013 19:25:09 +0000 (21:25 +0200)]
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>
10 years agoupdated docs to leave out run so it will be consistent
Evan Pitstick [Mon, 30 Sep 2013 19:28:13 +0000 (15:28 -0400)]
updated docs to leave out run so it will be consistent

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Fri, 20 Sep 2013 15:32:08 +0000 (17:32 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agovcsh: Add ".git-HEAD" to version number
Richard Hartmann [Fri, 20 Sep 2013 15:31:15 +0000 (17:31 +0200)]
vcsh: Add ".git-HEAD" to version number

This should make reporting bugs easier/more reliable.

10 years agovcsh: Add git version information on all debug runs
Richard Hartmann [Thu, 19 Sep 2013 21:45:51 +0000 (23:45 +0200)]
vcsh: Add git version information on all debug runs

10 years agoMerge branch 'feature--shortnames'
Richard Hartmann [Thu, 19 Sep 2013 21:41:27 +0000 (23:41 +0200)]
Merge branch 'feature--shortnames'

Conflicts:
vcsh

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Thu, 19 Sep 2013 21:37:33 +0000 (23:37 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agovcsh: Make `vcsh version` print vcsh and git version information
Richard Hartmann [Thu, 19 Sep 2013 21:36:58 +0000 (23:36 +0200)]
vcsh: Make `vcsh version` print vcsh and git version information

10 years agoMerge branch 'fix--mktemp_on_OSX'
Richard Hartmann [Tue, 10 Sep 2013 14:14:35 +0000 (16:14 +0200)]
Merge branch 'fix--mktemp_on_OSX'

10 years agovcsh: Add comments
Richard Hartmann [Tue, 10 Sep 2013 14:12:02 +0000 (16:12 +0200)]
vcsh: Add comments

10 years agovcsh: Support *BSD/OSX mktemp
Richard Hartmann [Mon, 9 Sep 2013 23:34:42 +0000 (01:34 +0200)]
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

10 years agoRelease v1.20130909
Richard Hartmann [Mon, 9 Sep 2013 07:16:54 +0000 (09:16 +0200)]
Release v1.20130909

10 years agovcsh: Move up gitignore check
Richard Hartmann [Mon, 2 Sep 2013 22:57:24 +0000 (00:57 +0200)]
vcsh: Move up gitignore check

10 years agoMerge branch 'merge--madduck/relative_worktree'
Richard Hartmann [Mon, 2 Sep 2013 22:54:23 +0000 (00:54 +0200)]
Merge branch 'merge--madduck/relative_worktree'

Github: Fixes richih/vcsh#26

10 years agovcsh: Add support for choosing relative or absolute core.worktree
Richard Hartmann [Mon, 2 Sep 2013 22:51:14 +0000 (00:51 +0200)]
vcsh: Add support for choosing relative or absolute core.worktree

10 years agoMerge remote-tracking branch 'madduck/relative_worktrees' into merge--madduck/relativ...
Richard Hartmann [Mon, 2 Sep 2013 21:16:03 +0000 (23:16 +0200)]
Merge remote-tracking branch 'madduck/relative_worktrees' into merge--madduck/relative_worktree

10 years agoRelease v1.20130829
Richard Hartmann [Thu, 29 Aug 2013 20:40:10 +0000 (22:40 +0200)]
Release v1.20130829

10 years agovcsh: Implement shortnames for commands
Richard Hartmann [Thu, 29 Aug 2013 18:20:00 +0000 (20:20 +0200)]
vcsh: Implement shortnames for commands

    vcsh st

will now expand to

    vcsh status

10 years agovcsh: Support `vcsh status <repo>`
Richard Hartmann [Thu, 29 Aug 2013 06:34:13 +0000 (08:34 +0200)]
vcsh: Support `vcsh status <repo>`

10 years agovcsh: Make init() less verbose
Richard Hartmann [Thu, 29 Aug 2013 06:29:52 +0000 (08:29 +0200)]
vcsh: Make init() less verbose

10 years agoREADME.md: Cleanup
Richard Hartmann [Tue, 27 Aug 2013 06:49:20 +0000 (08:49 +0200)]
README.md: Cleanup

10 years agovcsh: Implement pre-/post-init hooks
Richard Hartmann [Tue, 20 Aug 2013 20:43:01 +0000 (22:43 +0200)]
vcsh: Implement pre-/post-init hooks

10 years agoMerge pull request #80 from ebouchut/typo
Richard Hartmann [Mon, 19 Aug 2013 12:59:45 +0000 (05:59 -0700)]
Merge pull request #80 from ebouchut/typo

Fix typos in the README file.

10 years agoFix typos in README
Eric Bouchut [Mon, 19 Aug 2013 11:00:15 +0000 (13:00 +0200)]
Fix typos in README

10 years agoREADME.md: More use cases
Richard Hartmann [Wed, 14 Aug 2013 07:20:27 +0000 (09:20 +0200)]
README.md: More use cases

10 years agoREADME.md: Make intro less scary
Richard Hartmann [Wed, 14 Aug 2013 07:15:01 +0000 (09:15 +0200)]
README.md: Make intro less scary

10 years agoREADME.md: Move usage examples up
Richard Hartmann [Wed, 14 Aug 2013 06:59:27 +0000 (08:59 +0200)]
README.md: Move usage examples up

10 years agoREADME.md: Move mr farther down
Richard Hartmann [Wed, 14 Aug 2013 06:47:27 +0000 (08:47 +0200)]
README.md: Move mr farther down

10 years agovcsh: Print debug and verbose info
Richard Hartmann [Mon, 5 Aug 2013 15:01:16 +0000 (17:01 +0200)]
vcsh: Print debug and verbose info

10 years ago%s/richih.mailinglist@gmail.com/richih@debian.org/
Richard Hartmann [Fri, 2 Aug 2013 15:17:25 +0000 (17:17 +0200)]
%s/richih.mailinglist@gmail.com/richih@debian.org/

10 years agoMerge branch 'feature--vcsh-commit'
Richard Hartmann [Wed, 31 Jul 2013 22:19:02 +0000 (00:19 +0200)]
Merge branch 'feature--vcsh-commit'

Conflicts:
doc/vcsh.1.ronn
vcsh

10 years agoIntroduce `vcsh commit`
Richard Hartmann [Wed, 31 Jul 2013 22:16:17 +0000 (00:16 +0200)]
Introduce `vcsh commit`

10 years agoRelease v1.20130724
Richard Hartmann [Wed, 24 Jul 2013 20:15:09 +0000 (22:15 +0200)]
Release v1.20130724

10 years agoMerge branch 'feature--vcsh-status'
Richard Hartmann [Tue, 23 Jul 2013 23:29:04 +0000 (01:29 +0200)]
Merge branch 'feature--vcsh-status'

10 years agoIntroduce `vcsh status`
Richard Hartmann [Tue, 23 Jul 2013 23:26:20 +0000 (01:26 +0200)]
Introduce `vcsh status`

10 years agovcsh: Output formatting
Richard Hartmann [Tue, 23 Jul 2013 23:15:10 +0000 (01:15 +0200)]
vcsh: Output formatting

10 years agodoc/vcsh.1.ronn: Alphabetize options
Richard Hartmann [Tue, 23 Jul 2013 23:14:45 +0000 (01:14 +0200)]
doc/vcsh.1.ronn: Alphabetize options

10 years agoRelease v1.20130723
Richard Hartmann [Tue, 23 Jul 2013 19:30:59 +0000 (21:30 +0200)]
Release v1.20130723

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Tue, 23 Jul 2013 19:17:41 +0000 (21:17 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agodoc/hooks: Ask for sample hooks
Richard Hartmann [Tue, 23 Jul 2013 19:16:58 +0000 (21:16 +0200)]
doc/hooks: Ask for sample hooks

10 years agovcsh: Make gitignore options alphabetical
Richard Hartmann [Sun, 21 Jul 2013 11:25:42 +0000 (13:25 +0200)]
vcsh: Make gitignore options alphabetical

10 years agovcsh: s/git/Git/
Richard Hartmann [Sat, 20 Jul 2013 20:07:04 +0000 (22:07 +0200)]
vcsh: s/git/Git/

10 years agoGet rid of GIT_WORK_TREE during vcsh sessions
martin f. krafft [Fri, 19 Jul 2013 17:21:14 +0000 (19:21 +0200)]
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>
10 years agoKeep worktree relative to GIT_DIR
martin f. krafft [Sat, 27 Apr 2013 06:17:30 +0000 (08:17 +0200)]
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>
10 years agoRemove unnecessary line
martin f. krafft [Fri, 19 Jul 2013 14:03:09 +0000 (16:03 +0200)]
Remove unnecessary line

Signed-off-by: martin f. krafft <madduck@madduck.net>
10 years agoPOSIX syntax requires ; before }
martin f. krafft [Fri, 19 Jul 2013 14:02:53 +0000 (16:02 +0200)]
POSIX syntax requires ; before }

Signed-off-by: martin f. krafft <madduck@madduck.net>
10 years agoMerge remote-tracking branch 'origin/fix--vcsh-rename'
Richard Hartmann [Fri, 19 Jul 2013 06:24:44 +0000 (08:24 +0200)]
Merge remote-tracking branch 'origin/fix--vcsh-rename'

10 years agoMerge branch 'retire'
Richard Hartmann [Fri, 19 Jul 2013 06:16:45 +0000 (08:16 +0200)]
Merge branch 'retire'

Conflicts:
doc/hooks

10 years agodoc/vcsh.1.ronn: Reference new hooks
Richard Hartmann [Thu, 18 Jul 2013 23:31:16 +0000 (01:31 +0200)]
doc/vcsh.1.ronn: Reference new hooks

10 years agodoc/hooks: Fix hook list
Richard Hartmann [Thu, 18 Jul 2013 22:48:01 +0000 (00:48 +0200)]
doc/hooks: Fix hook list

10 years agoExplain when to use post-clone-retired
a-sk [Thu, 18 Jul 2013 21:33:35 +0000 (01:33 +0400)]
Explain when to use post-clone-retired

10 years agoFix post-clone hook name
a-sk [Thu, 18 Jul 2013 21:22:32 +0000 (01:22 +0400)]
Fix post-clone hook name

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Mon, 15 Jul 2013 16:36:11 +0000 (18:36 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years ago.mailmap: Add mapping for Alexander Skurikhin
Richard Hartmann [Mon, 15 Jul 2013 16:35:48 +0000 (18:35 +0200)]
.mailmap: Add mapping for Alexander Skurikhin