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:
Richard Hartmann [Sat, 19 Dec 2015 10:38:20 +0000 (11:38 +0100)]
Document `vcsh foreach`
Richard Hartmann [Fri, 18 Dec 2015 20:37:20 +0000 (21:37 +0100)]
Merge branch 'master' into feature/foreach
Richard Hartmann [Sun, 29 Nov 2015 21:02:35 +0000 (22:02 +0100)]
Merge branch 'feature/opt-list_untracked-a'
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
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
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
Richard Hartmann [Sun, 29 Nov 2015 12:53:56 +0000 (13:53 +0100)]
Felix Eckhofer [Mon, 15 Jun 2015 23:46:28 +0000 (01:46 +0200)]
Speed up `which` by avoiding a loop
Richard Hartmann [Sun, 29 Nov 2015 12:33:45 +0000 (13:33 +0100)]
vcsh: Fix regression introduced in
d946b07817ffe6e
github: Closes richih/vcsh#168
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
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.
Mikhail Gusarov [Thu, 20 Aug 2015 10:02:36 +0000 (12:02 +0200)]
Fix broken list-tracked-by -- list_tracked expects repository at $2
Florian Engel [Mon, 25 May 2015 18:38:39 +0000 (20:38 +0200)]
t/100-init.t: Fix failure due to locale
Richard Hartmann [Mon, 18 May 2015 07:21:25 +0000 (09:21 +0200)]
Merge branch 'feature/status_--terse'
Richard Hartmann [Mon, 18 May 2015 07:19:58 +0000 (09:19 +0200)]
vcsh: Prepare status() for vcsh longopts
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.
Richard Hartmann [Wed, 6 May 2015 13:34:49 +0000 (15:34 +0200)]
Update copyright info
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.
Richard Hartmann [Mon, 13 Apr 2015 07:16:27 +0000 (09:16 +0200)]
vcsh: Fix foreach()
Richard Hartmann [Mon, 13 Apr 2015 05:11:53 +0000 (07:11 +0200)]
doc/INSTALL.md: Specify how to install as user
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
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.
Mikhail Gusarov [Mon, 2 Mar 2015 18:17:40 +0000 (19:17 +0100)]
Add test for terse status output
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.
Richard Hartmann [Tue, 24 Feb 2015 19:08:28 +0000 (20:08 +0100)]
README.md: Use build tag for master
Richard Hartmann [Mon, 23 Feb 2015 18:08:01 +0000 (19:08 +0100)]
.travis.yml: moo dependencies
Richard Hartmann [Mon, 23 Feb 2015 16:48:38 +0000 (17:48 +0100)]
.travis.yml: moo
Needs more cowbell
Richard Hartmann [Mon, 23 Feb 2015 16:40:58 +0000 (17:40 +0100)]
.travis.yml: Less spam
Richard Hartmann [Mon, 23 Feb 2015 16:32:13 +0000 (17:32 +0100)]
Merge branch 'feature/travis-ci'
Richard Hartmann [Mon, 23 Feb 2015 16:31:16 +0000 (17:31 +0100)]
README.md: Formatting
Richard Hartmann [Mon, 23 Feb 2015 16:30:02 +0000 (17:30 +0100)]
README.md: Add Travis CI build state
Richard Hartmann [Mon, 23 Feb 2015 16:08:16 +0000 (17:08 +0100)]
.travis.yml: Use built-in system for Perl deps
Richard Hartmann [Mon, 23 Feb 2015 15:47:42 +0000 (16:47 +0100)]
.travis.yml: Add build dep on libshell-command-perl
Richard Hartmann [Mon, 23 Feb 2015 15:39:08 +0000 (16:39 +0100)]
.travis.yml: Use sudo
Richard Hartmann [Mon, 23 Feb 2015 15:33:48 +0000 (16:33 +0100)]
.travis.yml: %s/^\t/ /
Richard Hartmann [Mon, 23 Feb 2015 15:05:28 +0000 (16:05 +0100)]
Initial support for Travis CI
Richard Hartmann [Mon, 23 Feb 2015 14:41:19 +0000 (15:41 +0100)]
Makefile: Formatting
Richard Hartmann [Mon, 23 Feb 2015 14:28:56 +0000 (15:28 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Mon, 23 Feb 2015 14:28:40 +0000 (15:28 +0100)]
CONTRIBUTORS: Update
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`...
Richard Hartmann [Wed, 11 Feb 2015 18:53:25 +0000 (19:53 +0100)]
Merge branch 'feature/tests'
Richard Hartmann [Wed, 11 Feb 2015 18:51:50 +0000 (19:51 +0100)]
Add pre-commit hook into tools/
Richard Hartmann [Wed, 11 Feb 2015 18:49:46 +0000 (19:49 +0100)]
Makefile: Add `prove` to make test
Mathias Svensson [Mon, 12 Jan 2015 08:13:32 +0000 (09:13 +0100)]
Fixed typo in vcsh.1.ronn
Richard Hartmann [Sat, 1 Nov 2014 20:13:54 +0000 (21:13 +0100)]
t/300-add.t: Get rid of useless diag()
Richard Hartmann [Sat, 1 Nov 2014 06:19:59 +0000 (07:19 +0100)]
t/100-init.t: Update test to match new output
Richard Hartmann [Sat, 1 Nov 2014 06:17:33 +0000 (07:17 +0100)]
Merge branch 'master' into feature/tests
Richard Hartmann [Sat, 25 Oct 2014 23:04:13 +0000 (01:04 +0200)]
Fix tests
Richard Hartmann [Sat, 25 Oct 2014 22:24:07 +0000 (00:24 +0200)]
Richard Hartmann [Sat, 25 Oct 2014 21:23:05 +0000 (23:23 +0200)]
vcsh: Improve clone() error handling
Richard Hartmann [Sat, 25 Oct 2014 21:22:54 +0000 (23:22 +0200)]
vcsh: FIX fatal()
Richard Hartmann [Sat, 25 Oct 2014 20:33:39 +0000 (22:33 +0200)]
Merge branch 'feature--clone_branch'
Conflicts:
vcsh
Richard Hartmann [Sat, 25 Oct 2014 19:25:49 +0000 (21:25 +0200)]
Dridi Boukelmoune [Fri, 9 May 2014 08:14:49 +0000 (10:14 +0200)]
Use cowsay from the PATH instead
Richard Hartmann [Sat, 25 Oct 2014 05:58:06 +0000 (07:58 +0200)]
Merge branch 'feature/repository_specific_configuration'
Richard Hartmann [Sat, 25 Oct 2014 05:57:56 +0000 (07:57 +0200)]
Merge branch 'feature/status_against_remote_tracking'
Conflicts:
vcsh
Richard Hartmann [Fri, 24 Oct 2014 20:19:08 +0000 (22:19 +0200)]
vcsh: support repo-specific config files
Richard Hartmann [Fri, 24 Oct 2014 19:44:34 +0000 (21:44 +0200)]
Merge pull request #144 from mirabilos/patch-1
permit "-b <branch>" to come later on the command line
mirabilos [Fri, 24 Oct 2014 09:52:02 +0000 (11:52 +0200)]
permit "-b <branch>" to come later on the command line
Dridi Boukelmoune [Fri, 24 Oct 2014 09:22:41 +0000 (11:22 +0200)]
doc/vcsh.1.ronn: Document clone [-b `branch`]
Dridi Boukelmoune [Fri, 24 Oct 2014 09:09:22 +0000 (11:09 +0200)]
vcsh: Fail fast if the clone branch is not valid
Also fixed the last hardcoded reference to the master branch.
Richard Hartmann [Thu, 23 Oct 2014 19:02:17 +0000 (21:02 +0200)]
vcsh: Replace `list-tracked-by` with `list-tracked <repo>`
Also, refactor list_tracked_by() to re-use code
Richard Hartmann [Thu, 23 Oct 2014 18:46:48 +0000 (20:46 +0200)]
vcsh: Move list_untracked() into correct place
Richard Hartmann [Thu, 23 Oct 2014 18:45:06 +0000 (20:45 +0200)]
vcsh: Factor out code from status() into status_helper()
Richard Hartmann [Thu, 23 Oct 2014 18:38:10 +0000 (20:38 +0200)]
Merge branch 'feature/list-untracked'
github: Closes richih/vcsh#142
Richard Hartmann [Thu, 23 Oct 2014 18:37:29 +0000 (20:37 +0200)]
vcsh: Allow `vcsh list-untracked <repo>`
Richard Hartmann [Thu, 23 Oct 2014 18:17:04 +0000 (20:17 +0200)]
Merge branch 'feature--overlay_functions'
Richard Hartmann [Thu, 23 Oct 2014 18:16:36 +0000 (20:16 +0200)]
vcsh.1.ronn: Make the warning even more scary
Richard Hartmann [Thu, 23 Oct 2014 18:03:50 +0000 (20:03 +0200)]
Merge branch 'feature--improve_clone_errors'
Richard Hartmann [Wed, 22 Oct 2014 22:57:01 +0000 (00:57 +0200)]
Add documentation for `list-untracked`
Richard Hartmann [Wed, 22 Oct 2014 22:56:10 +0000 (00:56 +0200)]
_vcsh: Add completion for `list-untracked` and `status`
Richard Hartmann [Wed, 22 Oct 2014 22:44:36 +0000 (00:44 +0200)]
vcsh: list_untracked(): Avoid `cut`; speed up `-r`
Avoid spawning `cut` and speed recursive mode up from "takes several seconds on a
current machine" to "instant".
Thanks to Thorsten Glaser.
Richard Hartmann [Wed, 22 Oct 2014 22:40:54 +0000 (00:40 +0200)]
vcsh: Add support for `vcsh list-untracked -r`
Richard Hartmann [Wed, 22 Oct 2014 22:27:06 +0000 (00:27 +0200)]
vcsh: Remove extra function
Richard Hartmann [Wed, 22 Oct 2014 22:26:30 +0000 (00:26 +0200)]
vcsh: Use BSD/OS X compatible `mktemp`
Richard Hartmann [Wed, 22 Oct 2014 22:22:02 +0000 (00:22 +0200)]
vcsh: Fix random tab
Richard Hartmann [Wed, 22 Oct 2014 22:02:11 +0000 (00:02 +0200)]
vcsh: Make fatal() default to `exit 1`
Richard Hartmann [Wed, 22 Oct 2014 21:35:35 +0000 (23:35 +0200)]
vcsh: Make status() show commit offsets to remote tracking branch
github: Fixes richih/vcsh#123
Mert Dirik [Wed, 22 Oct 2014 21:09:11 +0000 (00:09 +0300)]
Replace temporary repository with copy based method
Dridi Boukelmoune [Wed, 22 Oct 2014 16:47:36 +0000 (18:47 +0200)]
vcsh: `vcsh clone [-b <branch>] <remote> [<repo>]`
This is the API for an optional branch selection for `vcsh clone`. It is
basically inspired by `git clone [-b|--branch <name>] <remote>`. I could
have used the long option `--branch` too but vcsh only uses short ones.
Dridi Boukelmoune [Sat, 12 Oct 2013 18:11:32 +0000 (20:11 +0200)]
vcsh: Only fetch the upstream branch during clone
Dridi Boukelmoune [Sat, 12 Oct 2013 17:49:07 +0000 (19:49 +0200)]
vcsh: Create the local branch during clone
This will create and checkout a local branch named after the upstream
branch. It will also gracefully behave for the default `master' branch
and consistently show the same message:
Switched to a new branch '$VCSH_BRANCH'
Richard Hartmann [Thu, 12 Sep 2013 21:30:27 +0000 (23:30 +0200)]
vcsh: Proper quoting for "$VCSH_BRANCH"
Richard Hartmann [Sat, 7 Sep 2013 11:34:23 +0000 (13:34 +0200)]
vcsh: Initial support for cloning from branches other than master
Richard Hartmann [Tue, 21 Oct 2014 21:25:42 +0000 (23:25 +0200)]
vcsh: Improve error handling of clone()
May fix https://github.com/RichiH/vcsh/issues/122
Mert Dirik [Tue, 21 Oct 2014 13:30:43 +0000 (16:30 +0300)]
Add recursive option (-r)
Mert Dirik [Tue, 21 Oct 2014 12:34:29 +0000 (15:34 +0300)]
Don't use subshell when creating the temporary repo
Mert Dirik [Tue, 21 Oct 2014 00:09:14 +0000 (03:09 +0300)]
Check for existence of 'comm' command
Mert Dirik [Tue, 21 Oct 2014 00:08:25 +0000 (03:08 +0300)]
Add checks to file operations
Mert Dirik [Mon, 20 Oct 2014 21:25:43 +0000 (00:25 +0300)]
Force temporary file/directory removal
Richard Hartmann [Mon, 20 Oct 2014 20:37:06 +0000 (22:37 +0200)]
vcsh: Add support for overlay functions
Richard Hartmann [Sun, 19 Oct 2014 06:34:09 +0000 (08:34 +0200)]
vcsh: Make `vcsh which dontexist` exit 1
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760882
Mert Dirik [Sun, 19 Oct 2014 00:24:04 +0000 (03:24 +0300)]
3rd try
Richard Hartmann [Fri, 13 Jan 2012 01:07:02 +0000 (02:07 +0100)]
test commit; rewrite to use comm and two temp files to get around argument too long crap
Richard Hartmann [Thu, 12 Jan 2012 23:43:12 +0000 (00:43 +0100)]
test commit
Richard Hartmann [Thu, 12 Jan 2012 23:39:33 +0000 (00:39 +0100)]
test commit
Richard Hartmann [Thu, 9 Oct 2014 21:22:03 +0000 (23:22 +0200)]
Richard Hartmann [Mon, 8 Sep 2014 20:39:14 +0000 (22:39 +0200)]
Merge pull request #139 from yuvallanger/patch-2
README: Using a `repo_name` instead of `foo`
Yuval Langer [Sun, 7 Sep 2014 14:39:22 +0000 (17:39 +0300)]
Rename `foo` to a meaningful name `repo_name`
I get lost within all of those meaningless names.
It is useful to give things meaningful names, especially in documentation.
Richard Hartmann [Sun, 7 Sep 2014 11:14:07 +0000 (13:14 +0200)]
Merge pull request #138 from yuvallanger/patch-1
typo `that you cat track` -> `that you can track`