]> 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
4 years agoMerge pull request #262 from soulofmischief/patch-2 deploy master
Richard Hartmann [Wed, 19 Jun 2019 09:54:39 +0000 (11:54 +0200)]
Merge pull request #262 from soulofmischief/patch-2

Fix typo in Config section

4 years agoFix typo in Config section
soulofmischief [Mon, 20 May 2019 21:07:25 +0000 (16:07 -0500)]
Fix typo in Config section

$VCSH_VCSH_WORKTREE -> $VCSH_WORKTREE

6 years agoMerge pull request #243 from EdwardBetts/master
Richard Hartmann [Fri, 15 Sep 2017 09:03:30 +0000 (11:03 +0200)]
Merge pull request #243 from EdwardBetts/master

correct spelling mistakes

6 years agocorrect spelling mistakes
Edward Betts [Fri, 15 Sep 2017 08:50:25 +0000 (09:50 +0100)]
correct spelling mistakes

6 years agoMerge pull request #236 from lyda/git-version-bsd-fix
Richard Hartmann [Tue, 29 Aug 2017 07:48:53 +0000 (09:48 +0200)]
Merge pull request #236 from lyda/git-version-bsd-fix

Fix version processing on BSD systems.

6 years agoFix version processing on BSD systems.
Kevin Lyda [Tue, 29 Aug 2017 07:12:44 +0000 (08:12 +0100)]
Fix version processing on BSD systems.

BSD systems ship with the original sed; lacking a host of GNU
extensions. However both GNU sed and POSIX sed support the -E flag
for extended regular expressions which are close to the change this
is replacing.

See the descriptions of extended REs in IEEE Std 1003.2 (aka POSIX.2)
or re_format(7) on BSD systems. What matters for this is that the
+ operator works and that it and the grouping operators no longer
need to be escaped.

6 years agoMerge pull request #234 from danielshahaf/completion-run-external-commands-v1
Richard Hartmann [Mon, 28 Aug 2017 06:21:01 +0000 (08:21 +0200)]
Merge pull request #234 from danielshahaf/completion-run-external-commands-v1

completion: Complete only external command for 'run'.

6 years agoMerge pull request #233 from danielshahaf/bugfix/list-tracked-in-subdir-v1
Richard Hartmann [Mon, 28 Aug 2017 06:19:27 +0000 (08:19 +0200)]
Merge pull request #233 from danielshahaf/bugfix/list-tracked-in-subdir-v1

Fix: list-tracked in subdir would print invalid paths

6 years agocompletion: Complete only external commands for 'run'.
Daniel Shahaf [Mon, 28 Aug 2017 01:03:53 +0000 (01:03 +0000)]
completion: Complete only external commands for 'run'.

The difference is easiest to see when the following style is in effect:
.
zstyle ':completion:*' group-name ''

6 years agoMerge pull request #215 from lyda/commit-fix
Richard Hartmann [Sun, 27 Aug 2017 20:18:00 +0000 (22:18 +0200)]
Merge pull request #215 from lyda/commit-fix

Fix commit.

6 years agoMerge pull request #223 from madduck/fix-git-version-parsing
Richard Hartmann [Sun, 27 Aug 2017 19:28:51 +0000 (21:28 +0200)]
Merge pull request #223 from madduck/fix-git-version-parsing

Fix parsing of Git version numbers

6 years agoMerge pull request #224 from danielshahaf/completion-fix-error-code-v1
Richard Hartmann [Sun, 27 Aug 2017 19:28:10 +0000 (21:28 +0200)]
Merge pull request #224 from danielshahaf/completion-fix-error-code-v1

completion: Return the correct error code from __vcsh_*.

6 years agoMerge pull request #227 from danielshahaf/completion-set-context-foreach-dispatch-v1
Richard Hartmann [Sun, 27 Aug 2017 19:26:13 +0000 (21:26 +0200)]
Merge pull request #227 from danielshahaf/completion-set-context-foreach-dispatch-v1

completion: Set the context correctly in 'foreach'.

6 years agoMerge branch 'master' into completion-set-context-foreach-dispatch-v1
Richard Hartmann [Sun, 27 Aug 2017 19:23:01 +0000 (21:23 +0200)]
Merge branch 'master' into completion-set-context-foreach-dispatch-v1

6 years agoMerge pull request #225 from danielshahaf/complete-files-for-git-add-v1
Richard Hartmann [Sun, 27 Aug 2017 19:21:21 +0000 (21:21 +0200)]
Merge pull request #225 from danielshahaf/complete-files-for-git-add-v1

completion: Pass GIT_DIR to _git.

6 years agoMerge pull request #228 from ttuegel/bugfix/shared
Richard Hartmann [Sun, 27 Aug 2017 19:19:54 +0000 (21:19 +0200)]
Merge pull request #228 from ttuegel/bugfix/shared

Do not use shared Git repositories

6 years agoMerge pull request #229 from danielshahaf/document-enter-v1
Richard Hartmann [Sun, 27 Aug 2017 19:18:19 +0000 (21:18 +0200)]
Merge pull request #229 from danielshahaf/document-enter-v1

docs: Clarify what 'enter' does.

6 years agoMerge pull request #232 from rhopfer/feature-bash-completion
Richard Hartmann [Sat, 26 Aug 2017 19:29:36 +0000 (21:29 +0200)]
Merge pull request #232 from rhopfer/feature-bash-completion

Add bash-completion

6 years agoAdd bash-completion
Roland Hopferwieser [Wed, 23 Aug 2017 15:27:07 +0000 (17:27 +0200)]
Add bash-completion

6 years agoFix: list-tracked in subdir would print invalid paths
Daniel Shahaf [Thu, 20 Jul 2017 17:32:20 +0000 (17:32 +0000)]
Fix: list-tracked in subdir would print invalid paths

Fixes #230

6 years agodocs: Clarify what 'enter' does.
Daniel Shahaf [Mon, 17 Jul 2017 14:49:22 +0000 (14:49 +0000)]
docs: Clarify what 'enter' does.

6 years agoDo not use shared Git repositories
Thomas Tuegel [Mon, 17 Jul 2017 13:20:13 +0000 (08:20 -0500)]
Do not use shared Git repositories

Shared repositories were created using `git init --shared=0600` with the intent
of keeping configuration data private. Git reports an error if "shared"
repositories are created with private permissions. (Due to an apparent bug, the
error was not reported before git-2.13.2.)

Instead of creating a shared repository, use `umask 0077` to make created files
accessible only to the current user. The umask setting is inherited by child
processes and respected by Git.

6 years agocompletion: Set the context correctly in 'foreach'.
Daniel Shahaf [Sun, 16 Jul 2017 18:25:25 +0000 (18:25 +0000)]
completion: Set the context correctly in 'foreach'.

6 years agocompletion: Return the correct error code from __vcsh_*.
Daniel Shahaf [Sun, 16 Jul 2017 18:19:28 +0000 (18:19 +0000)]
completion: Return the correct error code from __vcsh_*.

6 years agocompletion: Pass GIT_DIR to _git.
Daniel Shahaf [Sun, 16 Jul 2017 18:17:05 +0000 (18:17 +0000)]
completion: Pass GIT_DIR to _git.

This enables file completion at «vcsh foo add <TAB>».

6 years agoFix parsing of Git version numbers
martin f. krafft [Sat, 8 Jul 2017 05:49:45 +0000 (07:49 +0200)]
Fix parsing of Git version numbers

The Git minor version now has two digits, so fix the regexp parsing it.
We'll also anticipate the future and handle the time when the major
version hits 10 and parse accordingly

Signed-off-by: martin f. krafft <madduck@madduck.net>
7 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Sun, 26 Feb 2017 22:08:18 +0000 (23:08 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

7 years agoMerge pull request #205 from harendra-kumar/master
Richard Hartmann [Sun, 26 Feb 2017 19:56:01 +0000 (20:56 +0100)]
Merge pull request #205 from harendra-kumar/master

Fix documentation for running git commands

7 years agoFix commit.
Kevin Lyda [Thu, 17 Nov 2016 12:22:48 +0000 (12:22 +0000)]
Fix commit.

Commit is currently broken. This fixes it by shifting the command line
arguments to remove "commit" and by correctly quoting "$@".

7 years agoFix documentation for running git commands
Harendra Kumar [Sun, 19 Jun 2016 20:38:10 +0000 (02:08 +0530)]
Fix documentation for running git commands

Fixes #204

8 years agoMerge pull request #198 from ohspite/fix-git-version-parsing
Richard Hartmann [Sat, 26 Mar 2016 20:24:35 +0000 (13:24 -0700)]
Merge pull request #198 from ohspite/fix-git-version-parsing

Fix git version parsing when there are spaces

8 years agoFix git version parsing when there are spaces
Don March [Sat, 26 Mar 2016 18:12:07 +0000 (14:12 -0400)]
Fix git version parsing when there are spaces

8 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Sun, 21 Feb 2016 12:32:11 +0000 (13:32 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

8 years agoMerge pull request #196 from jotrk/master
Richard Hartmann [Sun, 21 Feb 2016 12:31:24 +0000 (13:31 +0100)]
Merge pull request #196 from jotrk/master

Fix write_gitignore for git version >= 2.7

8 years agoFix write_gitignore for git version >= 2.7
Jochen Keil [Sun, 14 Feb 2016 21:02:33 +0000 (22:02 +0100)]
Fix write_gitignore for git version >= 2.7

As of git version 2.7 it is no longer necessary to include parent
directories in the list of files not to be ignored.

This fixes #195.

8 years agovcsh: Pass options through to commit
Richard Hartmann [Tue, 29 Dec 2015 22:58:40 +0000 (23:58 +0100)]
vcsh: Pass options through to commit

8 years agoMerge branch 'feature/reproducible_build'
Richard Hartmann [Tue, 29 Dec 2015 16:34:12 +0000 (17:34 +0100)]
Merge branch 'feature/reproducible_build'

8 years agoHandle the French locale in reproducible builds slightly less hamfistedly
Richard Hartmann [Tue, 29 Dec 2015 16:32:07 +0000 (17:32 +0100)]
Handle the French locale in reproducible builds slightly less hamfistedly

Thanks to Matt S Trout

8 years agoRevert "t/100-init.t: Fix failure due to locale"
Richard Hartmann [Tue, 29 Dec 2015 15:18:33 +0000 (16:18 +0100)]
Revert "t/100-init.t: Fix failure due to locale"

This reverts commit d5c11e43b9e6e8fb25206af2a56da6381a4a00e4.

8 years agoMerge branch 'fix/support_old_git'
Richard Hartmann [Tue, 22 Dec 2015 20:47:53 +0000 (21:47 +0100)]
Merge branch 'fix/support_old_git'

8 years ago.travis.yml: Fix Travis CI
Richard Hartmann [Tue, 22 Dec 2015 20:45:08 +0000 (21:45 +0100)]
.travis.yml: Fix Travis CI

Turns out you need to `apt-get update` all of a sudden...

8 years agoRevert ".travis.yml: Try to work around Travis CI"
Richard Hartmann [Tue, 22 Dec 2015 20:44:47 +0000 (21:44 +0100)]
Revert ".travis.yml: Try to work around Travis CI"

This reverts commit 3e6f33668ac3507812168b6118bcb05bee572c8c.

8 years ago.travis.yml: Try to work around Travis CI
Richard Hartmann [Sat, 19 Dec 2015 15:59:56 +0000 (16:59 +0100)]
.travis.yml: Try to work around Travis CI

Seems their infrastructure migration went not quite as expected...

8 years agovcsh: Fix condition in clone()
Richard Hartmann [Sat, 19 Dec 2015 15:28:54 +0000 (16:28 +0100)]
vcsh: Fix condition in clone()

8 years agoMerge branch 'feature/foreach'
Richard Hartmann [Sat, 19 Dec 2015 11:05:50 +0000 (12:05 +0100)]
Merge branch 'feature/foreach'

8 years ago_vcsh: Remove list-tracked-by completely
Richard Hartmann [Sat, 19 Dec 2015 10:39:26 +0000 (11:39 +0100)]
_vcsh: Remove list-tracked-by completely

8 years agoDocument `vcsh foreach`
Richard Hartmann [Sat, 19 Dec 2015 10:38:20 +0000 (11:38 +0100)]
Document `vcsh foreach`

8 years ago_vcsh: Remove stale completion
Richard Hartmann [Sat, 19 Dec 2015 07:05:31 +0000 (08:05 +0100)]
_vcsh: Remove stale completion

8 years agoMerge branch 'master' into feature/foreach
Richard Hartmann [Fri, 18 Dec 2015 20:37:20 +0000 (21:37 +0100)]
Merge branch 'master' into feature/foreach

8 years agoMerge branch 'feature/opt-list_untracked-a'
Richard Hartmann [Sun, 29 Nov 2015 21:02:35 +0000 (22:02 +0100)]
Merge branch 'feature/opt-list_untracked-a'

8 years agoMerge pull request #149 from dottedmag/fix-test-git-22
Richard Hartmann [Sun, 29 Nov 2015 20:58:57 +0000 (21:58 +0100)]
Merge pull request #149 from dottedmag/fix-test-git-22

Fix tests under git-2.2

8 years agovcsh: Handle Git older than 2.x
Richard Hartmann [Sun, 29 Nov 2015 20:40:41 +0000 (21:40 +0100)]
vcsh: Handle Git older than 2.x

We will fetch more data than needed with Git 1.8, but other than that...

8 years agoMerge pull request #183 from ohspite/ff-initial-merge
Richard Hartmann [Sun, 29 Nov 2015 19:14:48 +0000 (20:14 +0100)]
Merge pull request #183 from ohspite/ff-initial-merge

vcsh: Always fast forward initial merge

8 years agoMerge pull request #179 from dottedmag/master
Richard Hartmann [Sun, 29 Nov 2015 16:59:08 +0000 (17:59 +0100)]
Merge pull request #179 from dottedmag/master

Fix broken list-tracked-by -- list_tracked expects repository at $2

8 years agoMerge branch 'feature/fix-d946b07817ffe6e156c159e7fc6270322413e530'
Richard Hartmann [Sun, 29 Nov 2015 12:53:56 +0000 (13:53 +0100)]
Merge branch 'feature/fix-d946b07817ffe6e156c159e7fc6270322413e530'

8 years agoSpeed up `which` by avoiding a loop
Felix Eckhofer [Mon, 15 Jun 2015 23:46:28 +0000 (01:46 +0200)]
Speed up `which` by avoiding a loop

8 years agovcsh: Fix regression introduced in d946b07817ffe6e
Richard Hartmann [Sun, 29 Nov 2015 12:33:45 +0000 (13:33 +0100)]
vcsh: Fix regression introduced in d946b07817ffe6e

github: Closes richih/vcsh#168

8 years agovcsh: Default to `git ls-files --exclude-standard`
Richard Hartmann [Sun, 29 Nov 2015 11:41:37 +0000 (12:41 +0100)]
vcsh: Default to `git ls-files --exclude-standard`

github: Closes richih/vcsh#181

8 years agovcsh: Always fast forward initial merge
Don [Mon, 21 Sep 2015 21:49:26 +0000 (17:49 -0400)]
vcsh: Always fast forward initial merge

Ignore `merge.ff = no` if set in .gitconfig.

8 years agoFix broken list-tracked-by -- list_tracked expects repository at $2
Mikhail Gusarov [Thu, 20 Aug 2015 10:02:36 +0000 (12:02 +0200)]
Fix broken list-tracked-by -- list_tracked expects repository at $2

8 years agot/100-init.t: Fix failure due to locale
Florian Engel [Mon, 25 May 2015 18:38:39 +0000 (20:38 +0200)]
t/100-init.t: Fix failure due to locale

8 years agoMerge branch 'feature/status_--terse'
Richard Hartmann [Mon, 18 May 2015 07:21:25 +0000 (09:21 +0200)]
Merge branch 'feature/status_--terse'

8 years agovcsh: Prepare status() for vcsh longopts
Richard Hartmann [Mon, 18 May 2015 07:19:58 +0000 (09:19 +0200)]
vcsh: Prepare status() for vcsh longopts

8 years agot/300-add.t: Fix warning
Richard Hartmann [Mon, 18 May 2015 07:07:13 +0000 (09:07 +0200)]
t/300-add.t: Fix warning

t/300-add.t ........ "my" variable $output masks earlier declaration in
same scope at t/300-add.t line 32.

8 years agoUpdate copyright info
Richard Hartmann [Wed, 6 May 2015 13:34:49 +0000 (15:34 +0200)]
Update copyright info

9 years agovcsh: list_untracked(): remove --nocheck-order
Eli Young [Tue, 14 Apr 2015 23:46:43 +0000 (16:46 -0700)]
vcsh: list_untracked(): remove --nocheck-order

`--nocheck-order` is only supported by GNU `comm`, but it isn't
necessary anyway because we sort the inputs first.

9 years agovcsh: Fix foreach()
Richard Hartmann [Mon, 13 Apr 2015 07:16:27 +0000 (09:16 +0200)]
vcsh: Fix foreach()

9 years agodoc/INSTALL.md: Specify how to install as user
Richard Hartmann [Mon, 13 Apr 2015 05:11:53 +0000 (07:11 +0200)]
doc/INSTALL.md: Specify how to install as user

9 years agovcsh: Implement skeleton of `vcsh foreach`
Richard Hartmann [Fri, 3 Apr 2015 17:36:10 +0000 (19:36 +0200)]
vcsh: Implement skeleton of `vcsh foreach`

No help, completion, or other related updates

9 years agoFix tests under git 2.2
Mikhail Gusarov [Mon, 2 Mar 2015 18:24:08 +0000 (19:24 +0100)]
Fix tests under git 2.2

'branches' directory was obsolete and finally removed in recent git
versions.

9 years agoAdd test for terse status output
Mikhail Gusarov [Mon, 2 Mar 2015 18:17:40 +0000 (19:17 +0100)]
Add test for terse status output

9 years agovcsh stat --terse
Mikhail Gusarov [Fri, 27 Feb 2015 08:58:43 +0000 (09:58 +0100)]
vcsh stat --terse

only shows repositories with changes, which makes it suitable to be run
during login shell startup.

9 years agoREADME.md: Use build tag for master
Richard Hartmann [Tue, 24 Feb 2015 19:08:28 +0000 (20:08 +0100)]
README.md: Use build tag for master

9 years ago.travis.yml: moo dependencies
Richard Hartmann [Mon, 23 Feb 2015 18:08:01 +0000 (19:08 +0100)]
.travis.yml: moo dependencies

9 years ago.travis.yml: moo
Richard Hartmann [Mon, 23 Feb 2015 16:48:38 +0000 (17:48 +0100)]
.travis.yml: moo

Needs more cowbell

9 years ago.travis.yml: Less spam
Richard Hartmann [Mon, 23 Feb 2015 16:40:58 +0000 (17:40 +0100)]
.travis.yml: Less spam

9 years agoMerge branch 'feature/travis-ci'
Richard Hartmann [Mon, 23 Feb 2015 16:32:13 +0000 (17:32 +0100)]
Merge branch 'feature/travis-ci'

9 years agoREADME.md: Formatting
Richard Hartmann [Mon, 23 Feb 2015 16:31:16 +0000 (17:31 +0100)]
README.md: Formatting

9 years agoREADME.md: Add Travis CI build state
Richard Hartmann [Mon, 23 Feb 2015 16:30:02 +0000 (17:30 +0100)]
README.md: Add Travis CI build state

9 years ago.travis.yml: Use built-in system for Perl deps
Richard Hartmann [Mon, 23 Feb 2015 16:08:16 +0000 (17:08 +0100)]
.travis.yml: Use built-in system for Perl deps

9 years ago.travis.yml: Add build dep on libshell-command-perl
Richard Hartmann [Mon, 23 Feb 2015 15:47:42 +0000 (16:47 +0100)]
.travis.yml: Add build dep on libshell-command-perl

9 years ago.travis.yml: Use sudo
Richard Hartmann [Mon, 23 Feb 2015 15:39:08 +0000 (16:39 +0100)]
.travis.yml: Use sudo

9 years ago.travis.yml: %s/^\t/ /
Richard Hartmann [Mon, 23 Feb 2015 15:33:48 +0000 (16:33 +0100)]
.travis.yml: %s/^\t/  /

9 years agoInitial support for Travis CI
Richard Hartmann [Mon, 23 Feb 2015 15:05:28 +0000 (16:05 +0100)]
Initial support for Travis CI

9 years agoMakefile: Formatting
Richard Hartmann [Mon, 23 Feb 2015 14:41:19 +0000 (15:41 +0100)]
Makefile: Formatting

9 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Mon, 23 Feb 2015 14:28:56 +0000 (15:28 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

9 years agoCONTRIBUTORS: Update
Richard Hartmann [Mon, 23 Feb 2015 14:28:40 +0000 (15:28 +0100)]
CONTRIBUTORS: Update

9 years agoMakefile: Delete correct doc dir
Richard Hartmann [Wed, 11 Feb 2015 19:10:46 +0000 (20:10 +0100)]
Makefile: Delete correct doc dir

Seems not a lot of people `make purge`...

9 years agoMerge branch 'feature/tests'
Richard Hartmann [Wed, 11 Feb 2015 18:53:25 +0000 (19:53 +0100)]
Merge branch 'feature/tests'

9 years agoAdd pre-commit hook into tools/
Richard Hartmann [Wed, 11 Feb 2015 18:51:50 +0000 (19:51 +0100)]
Add pre-commit hook into tools/

9 years agoMakefile: Add `prove` to make test
Richard Hartmann [Wed, 11 Feb 2015 18:49:46 +0000 (19:49 +0100)]
Makefile: Add `prove` to make test

9 years agoFixed typo in vcsh.1.ronn
Mathias Svensson [Mon, 12 Jan 2015 08:13:32 +0000 (09:13 +0100)]
Fixed typo in vcsh.1.ronn

9 years agot/300-add.t: Get rid of useless diag()
Richard Hartmann [Sat, 1 Nov 2014 20:13:54 +0000 (21:13 +0100)]
t/300-add.t: Get rid of useless diag()

9 years agot/100-init.t: Update test to match new output
Richard Hartmann [Sat, 1 Nov 2014 06:19:59 +0000 (07:19 +0100)]
t/100-init.t: Update test to match new output

9 years agoMerge branch 'master' into feature/tests
Richard Hartmann [Sat, 1 Nov 2014 06:17:33 +0000 (07:17 +0100)]
Merge branch 'master' into feature/tests

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

9 years agoRelease 1.20141026
Richard Hartmann [Sat, 25 Oct 2014 22:24:07 +0000 (00:24 +0200)]
Release 1.20141026

9 years agovcsh: Improve clone() error handling
Richard Hartmann [Sat, 25 Oct 2014 21:23:05 +0000 (23:23 +0200)]
vcsh: Improve clone() error handling

9 years agovcsh: FIX fatal()
Richard Hartmann [Sat, 25 Oct 2014 21:22:54 +0000 (23:22 +0200)]
vcsh: FIX fatal()

9 years agoMerge branch 'feature--clone_branch'
Richard Hartmann [Sat, 25 Oct 2014 20:33:39 +0000 (22:33 +0200)]
Merge branch 'feature--clone_branch'

Conflicts:
vcsh