]> 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
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

11 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

11 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

11 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

11 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

11 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

11 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>

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

11 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

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

11 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

11 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'

11 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.

11 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()

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

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

11 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.

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

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

11 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

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

11 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

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

Conflicts:
Makefile

11 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

11 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)

11 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.

11 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>
11 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

11 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

11 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.

11 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

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

Conflicts:
vcsh

11 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

11 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

11 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'

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

11 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

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

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

11 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

11 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

11 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

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

11 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

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

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

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

11 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

11 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.

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

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

11 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

11 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

11 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

11 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

11 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/

11 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

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

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

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

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

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

11 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

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

11 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

11 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

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

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

11 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>
11 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>
11 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>
11 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>
11 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'

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

Conflicts:
doc/hooks

11 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

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

11 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

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

11 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

11 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

11 years agoCONTRIBUTORS: Add Alessandro Ghedini
Richard Hartmann [Sat, 13 Jul 2013 22:42:52 +0000 (00:42 +0200)]
CONTRIBUTORS: Add Alessandro Ghedini

11 years ago.mailmap: Add mapping for Alexander Skurikhin
Richard Hartmann [Sat, 13 Jul 2013 22:42:10 +0000 (00:42 +0200)]
.mailmap: Add mapping for Alexander Skurikhin

11 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Sat, 13 Jul 2013 21:28:11 +0000 (23:28 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

11 years agoMerge branch 'gitignore-none'
Richard Hartmann [Sat, 13 Jul 2013 21:27:50 +0000 (23:27 +0200)]
Merge branch 'gitignore-none'

11 years agoFix commit 96f74d26de89fa1e390e26d015208163f689629e
Richard Hartmann [Sat, 13 Jul 2013 18:25:52 +0000 (20:25 +0200)]
Fix commit 96f74d26de89fa1e390e26d015208163f689629e

Quote $1; change

check_directory=$1

to

check_directory="$1"

11 years agovcsh: do not create .gitignore.d if VCSH_GITIGNORE == none
Alessandro Ghedini [Wed, 10 Jul 2013 13:01:36 +0000 (15:01 +0200)]
vcsh: do not create .gitignore.d if VCSH_GITIGNORE == none

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

11 years agoCONTRIBUTORS: Add Alexander Skurikhin
Richard Hartmann [Wed, 10 Jul 2013 13:09:14 +0000 (15:09 +0200)]
CONTRIBUTORS: Add Alexander Skurikhin

11 years agovcsh: Fix stupid syntax error
Richard Hartmann [Wed, 10 Jul 2013 11:04:06 +0000 (13:04 +0200)]
vcsh: Fix stupid syntax error

Thanks to Alessandro Ghedini.

11 years agovcsh: Fix `vcsh rename`
Richard Hartmann [Wed, 10 Jul 2013 10:53:04 +0000 (12:53 +0200)]
vcsh: Fix `vcsh rename`

Based on report and work by Alexander Skurikhin.

GitHub: fixes 54

11 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Wed, 10 Jul 2013 10:37:45 +0000 (12:37 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

11 years agovcsh: Formatting
Richard Hartmann [Fri, 5 Jul 2013 23:20:55 +0000 (01:20 +0200)]
vcsh: Formatting

11 years agodoc/hooks: New format to make merge easier
Richard Hartmann [Wed, 10 Jul 2013 09:49:52 +0000 (11:49 +0200)]
doc/hooks: New format to make merge easier

11 years agodoc/hooks: Update
Richard Hartmann [Wed, 10 Jul 2013 09:49:30 +0000 (11:49 +0200)]
doc/hooks: Update

11 years agoAdd hook post-clone-cleared
Richard Hartmann [Wed, 10 Jul 2013 09:48:12 +0000 (11:48 +0200)]
Add hook post-clone-cleared

11 years agoAdd retire() as a complement to use()
a-sk [Mon, 1 Jul 2013 21:13:12 +0000 (01:13 +0400)]
Add retire() as a complement to use()

11 years agoAdd support for `vcsh push`
Richard Hartmann [Fri, 5 Jul 2013 20:13:33 +0000 (22:13 +0200)]
Add support for `vcsh push`

This pushes to the respective remotes of all vcsh repos.

11 years agoAdd support for `vcsh pull`
Richard Hartmann [Fri, 5 Jul 2013 20:08:36 +0000 (22:08 +0200)]
Add support for `vcsh pull`

This pulls all vcsh repos one after the other.

11 years agoUpdate copyright date in manpage
Richard Hartmann [Fri, 5 Jul 2013 20:01:42 +0000 (22:01 +0200)]
Update copyright date in manpage