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 [Fri, 10 Feb 2012 17:13:29 +0000 (18:13 +0100)]
Improve wording in docs
Richard Hartmann [Fri, 10 Feb 2012 16:12:04 +0000 (17:12 +0100)]
Add docs for `vcsh which`
Richard Hartmann [Fri, 10 Feb 2012 16:55:48 +0000 (17:55 +0100)]
Make parser more robust
Richard Hartmann [Fri, 10 Feb 2012 16:05:49 +0000 (17:05 +0100)]
Implement `vcsh which`
Richard Hartmann [Fri, 10 Feb 2012 15:26:20 +0000 (16:26 +0100)]
Formatting
Richard Hartmann [Fri, 3 Feb 2012 01:35:11 +0000 (02:35 +0100)]
More documentation fixes
fixes #22
Richard Hartmann [Fri, 3 Feb 2012 01:09:54 +0000 (02:09 +0100)]
Fix documentation
Thanks to Brian May for reporting this.
fix #22
Richard Hartmann [Sun, 29 Jan 2012 03:13:19 +0000 (04:13 +0100)]
Tell people when hooks are executed
Richard Hartmann [Sun, 29 Jan 2012 03:01:47 +0000 (04:01 +0100)]
Add AUTHORS
Richard Hartmann [Mon, 23 Jan 2012 01:53:59 +0000 (02:53 +0100)]
Improve quoting
Richard Hartmann [Sun, 22 Jan 2012 18:05:40 +0000 (19:05 +0100)]
Better quoting
Richard Hartmann [Sun, 22 Jan 2012 18:03:22 +0000 (19:03 +0100)]
Formatting
Richard Hartmann [Sun, 22 Jan 2012 18:01:54 +0000 (19:01 +0100)]
Slightly better if clause
Richard Hartmann [Sun, 22 Jan 2012 18:00:50 +0000 (19:00 +0100)]
Minimal strings updates
Richard Hartmann [Mon, 16 Jan 2012 01:07:11 +0000 (02:07 +0100)]
Update copyright
Richard Hartmann [Mon, 16 Jan 2012 00:55:47 +0000 (01:55 +0100)]
Improve hook documentation
Richard Hartmann [Sat, 14 Jan 2012 17:53:50 +0000 (18:53 +0100)]
Merge branch 'hook-support'
Richard Hartmann [Sat, 14 Jan 2012 17:52:59 +0000 (18:52 +0100)]
Delete TODO
Richard Hartmann [Sat, 14 Jan 2012 17:50:56 +0000 (09:50 -0800)]
Merge pull request #20 from vdemeester/hook-support
Add hooks for setup()
Vincent Demeester [Sat, 14 Jan 2012 17:48:14 +0000 (18:48 +0100)]
Add setup hook
Richard Hartmann [Sat, 14 Jan 2012 16:04:19 +0000 (17:04 +0100)]
Improve hook support
* Fix and expand manpage
* Use explicit variable names in hook()
Richard Hartmann [Fri, 13 Jan 2012 23:07:24 +0000 (00:07 +0100)]
Implement hook system
Thanks to Vincent Demeester for this idea.
Richard Hartmann [Mon, 9 Jan 2012 01:26:17 +0000 (02:26 +0100)]
Update TODO
One to go and that may just move to github issues...
Richard Hartmann [Fri, 30 Dec 2011 12:53:29 +0000 (13:53 +0100)]
Add author email
Richard Hartmann [Tue, 27 Dec 2011 15:31:22 +0000 (16:31 +0100)]
Fix mistake in README.md
Thanks to David Bremner for reporting this
Richard Hartmann [Tue, 27 Dec 2011 14:07:46 +0000 (15:07 +0100)]
Make Makefile not install INSTALL.md
Richard Hartmann [Tue, 27 Dec 2011 13:38:02 +0000 (14:38 +0100)]
Update manpage
* Refer to README.md
* Add note about config file being a potential security issue
Richard Hartmann [Tue, 27 Dec 2011 13:29:33 +0000 (14:29 +0100)]
Update README.md to reference .gitignore.d
Richard Hartmann [Tue, 20 Dec 2011 23:34:31 +0000 (00:34 +0100)]
Introduce config file and control over what goes into .gitignore/$foo
* configuration is in $XDG_CONFIG_HOME/vcsh/config
* $VCSH_GITIGNORE can be set to 'exact' or 'recursive'
Richard Hartmann [Mon, 19 Dec 2011 23:54:22 +0000 (00:54 +0100)]
Update tagline
Richard Hartmann [Wed, 14 Dec 2011 17:07:46 +0000 (18:07 +0100)]
Add contact information
People arriving via http://onethingwell.org/post/
14218384411/vcsh
should be able to find us..
Richard Hartmann [Wed, 7 Dec 2011 22:54:38 +0000 (23:54 +0100)]
Make `vcsh clone` work with older git versions
1.7.7 is happy without parameters, 1.7.0.8 needs origin master
Richard Hartmann [Tue, 6 Dec 2011 20:54:35 +0000 (21:54 +0100)]
Make `vcsh clone` handle empty remotes gracefully
Richard Hartmann [Mon, 5 Dec 2011 13:43:03 +0000 (14:43 +0100)]
Update TODO; will be finished and then retired soon
Richard Hartmann [Mon, 5 Dec 2011 11:27:32 +0000 (12:27 +0100)]
Use $VCSH_BASE instead of $HOME
Richard Hartmann [Mon, 5 Dec 2011 10:49:36 +0000 (11:49 +0100)]
Improve help text
Richard Hartmann [Mon, 5 Dec 2011 10:47:37 +0000 (11:47 +0100)]
Remove useless condition
Richard Hartmann [Mon, 5 Dec 2011 10:44:36 +0000 (11:44 +0100)]
Add license information, all authors to date agreed upon GPL 2+
Richard Hartmann [Mon, 5 Dec 2011 10:43:58 +0000 (11:43 +0100)]
Updated .gitignore
Richard Hartmann [Mon, 5 Dec 2011 10:26:10 +0000 (11:26 +0100)]
Rename `vcsh seed-gitignore` to `vcsh write-gitignore`
Richard Hartmann [Sun, 4 Dec 2011 22:41:45 +0000 (23:41 +0100)]
Forgot to commit manpage for `vcsh <repo>`
Richard Hartmann [Sat, 3 Dec 2011 01:44:16 +0000 (02:44 +0100)]
Make `vcsh <repo>` a shortcut for `vcsh enter <repo>`
Richard Hartmann [Fri, 2 Dec 2011 20:47:38 +0000 (21:47 +0100)]
Add docs for list-tracked and list-tracked-by
Richard Hartmann [Wed, 30 Nov 2011 02:41:28 +0000 (03:41 +0100)]
Add list-tracked-by and list-tracked
Richard Hartmann [Wed, 30 Nov 2011 02:44:14 +0000 (03:44 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Conflicts:
vcsh
Richard Hartmann [Wed, 30 Nov 2011 02:39:28 +0000 (03:39 +0100)]
Make debugging more verbose
Richard Hartmann [Wed, 30 Nov 2011 02:24:58 +0000 (03:24 +0100)]
Remove stale code
Richard Hartmann [Wed, 30 Nov 2011 02:22:07 +0000 (03:22 +0100)]
Update setup() to only add .gitignore/$repo if it exists
Richard Hartmann [Tue, 29 Nov 2011 14:53:00 +0000 (15:53 +0100)]
Extend mr support to all commands
Richard Hartmann [Tue, 29 Nov 2011 14:53:00 +0000 (15:53 +0100)]
Update to mr support
* manpage
* set $VCSH_REPO_NAME (this assumes .git suffix!)
Richard Hartmann [Tue, 29 Nov 2011 13:58:40 +0000 (14:58 +0100)]
Add support for mr
Richard Hartmann [Tue, 29 Nov 2011 14:10:52 +0000 (15:10 +0100)]
Richard Hartmann [Sun, 27 Nov 2011 19:35:41 +0000 (20:35 +0100)]
Fix syntax errors
Richard Hartmann [Sat, 26 Nov 2011 22:32:52 +0000 (23:32 +0100)]
Merge remote-tracking branch 'Dieter_be/master'
Conflicts:
doc/error_codes.md
Richard Hartmann [Sat, 26 Nov 2011 22:13:49 +0000 (23:13 +0100)]
Add more error handling
Richard Hartmann [Sat, 26 Nov 2011 18:01:57 +0000 (19:01 +0100)]
Remove old cleanup code for `vcsh use`
Richard Hartmann [Sat, 26 Nov 2011 17:58:00 +0000 (18:58 +0100)]
Use `rmdir` instead of `rm -rf`
Richard Hartmann [Sat, 26 Nov 2011 17:35:38 +0000 (18:35 +0100)]
Introduce `vcsh mv`
Richard Hartmann [Sat, 26 Nov 2011 10:50:28 +0000 (11:50 +0100)]
Remove duplicate & no-op code
Richard Hartmann [Sat, 26 Nov 2011 10:39:32 +0000 (11:39 +0100)]
Use explicit variable names and improve quoting
Richard Hartmann [Sat, 26 Nov 2011 10:30:12 +0000 (11:30 +0100)]
Introduce `make test`
Dieter Plaetinck [Sat, 26 Nov 2011 10:26:42 +0000 (11:26 +0100)]
remove left-over useless exit code
Richard Hartmann [Fri, 25 Nov 2011 19:24:01 +0000 (20:24 +0100)]
Minor formatting updates
Dieter Plaetinck [Thu, 24 Nov 2011 20:58:31 +0000 (21:58 +0100)]
Cleanup use() exit scenarios
Instead of having use() report a normal error (which is actually fatal)
and returning >0, and calling use || exit $? everytime; just report the
fatal error and quit already
Dieter Plaetinck [Thu, 24 Nov 2011 20:38:27 +0000 (21:38 +0100)]
Cleanup argument parsing and delegation
* move all backend code to separate functions
* call those functions directly
* simplify argument parsing
* remove redundant verbose begin/end messages
Richard Hartmann [Thu, 24 Nov 2011 20:07:39 +0000 (21:07 +0100)]
Clean up Dieter's patches
Richard Hartmann [Thu, 24 Nov 2011 20:00:35 +0000 (12:00 -0800)]
Merge pull request #13 from Dieterbe/master
Introduce fatal(), error(), and info()
Dieter Plaetinck [Thu, 24 Nov 2011 19:31:52 +0000 (20:31 +0100)]
Make info calls consistent
Dieter Plaetinck [Thu, 24 Nov 2011 19:29:00 +0000 (20:29 +0100)]
Make error reporting sane
* refactor error logging code
* make all errors go to stderr
* make fatal errors actually fatal (exit instead of return)
* make output consistent
Richard Hartmann [Thu, 24 Nov 2011 19:05:30 +0000 (20:05 +0100)]
Use exit and {} instead of return and ()
Richard Hartmann [Thu, 24 Nov 2011 18:42:10 +0000 (19:42 +0100)]
Remove `use` and `exit`
Richard Hartmann [Wed, 23 Nov 2011 17:38:36 +0000 (18:38 +0100)]
Introduce `vcsh setup`
Richard Hartmann [Wed, 23 Nov 2011 17:02:44 +0000 (18:02 +0100)]
Re-arrange functions
Richard Hartmann [Wed, 23 Nov 2011 11:46:38 +0000 (12:46 +0100)]
Fix `vcsh clone`
Forgot to set VCSH_COMMAND after the refactoring
Richard Hartmann [Tue, 22 Nov 2011 23:04:33 +0000 (00:04 +0100)]
Update docs
Richard Hartmann [Tue, 22 Nov 2011 23:04:17 +0000 (00:04 +0100)]
Introduce `vcsh enter`
Richard Hartmann [Tue, 22 Nov 2011 23:01:37 +0000 (00:01 +0100)]
Update docs
Richard Hartmann [Tue, 22 Nov 2011 22:55:50 +0000 (23:55 +0100)]
Warn when source-only functions are called in executed context
Richard Hartmann [Tue, 22 Nov 2011 21:00:19 +0000 (22:00 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Tue, 22 Nov 2011 20:09:00 +0000 (21:09 +0100)]
Re-introduce `vcsh use` and `vcsh exit`
github:
closes: #4
Richard Hartmann [Tue, 22 Nov 2011 20:03:05 +0000 (21:03 +0100)]
Ignore Vim swap files
Richard Hartmann [Tue, 22 Nov 2011 19:58:10 +0000 (20:58 +0100)]
Get rid exit(3)
Richard Hartmann [Tue, 22 Nov 2011 18:46:53 +0000 (19:46 +0100)]
Improve seeg-gitignore to work around git's issues; still not happy
Richard Hartmann [Tue, 22 Nov 2011 18:43:17 +0000 (19:43 +0100)]
Rename $REPO_NAME -> $VCSH_REPO_NAME
Richard Hartmann [Tue, 22 Nov 2011 16:28:28 +0000 (17:28 +0100)]
More refactoring cleanups; hopefully the end of this
Richard Hartmann [Tue, 22 Nov 2011 15:48:23 +0000 (16:48 +0100)]
Fix seed-gitignore, which was broken by the refactoring
Richard Hartmann [Mon, 21 Nov 2011 01:44:11 +0000 (02:44 +0100)]
Updated TODO
Richard Hartmann [Sun, 20 Nov 2011 14:33:08 +0000 (15:33 +0100)]
Major refactoring and one new feature
* Handle and sanitize all input in extra block
* Use exported variables instead of daisy-chaining them through functions
* Improve error detection and handling
* Re-order functions in alphabetical order
New feature:
* `vcsh <repo> <gitcommand>` is synonymous with `vcsh run <repo> git <gitcommand>
Richard Hartmann [Sun, 20 Nov 2011 10:43:01 +0000 (11:43 +0100)]
Reformat and update docs, completion etc
Richard Hartmann [Sun, 20 Nov 2011 10:35:18 +0000 (11:35 +0100)]
Update `vcsh delete`
* Be less aggressive when asking for confirmation
* Work independently from $PWD
Richard Hartmann [Sat, 19 Nov 2011 22:37:37 +0000 (23:37 +0100)]
Implement `vcsh delete $repo`
Richard Hartmann [Sat, 19 Nov 2011 16:25:51 +0000 (17:25 +0100)]
Quit vcsh if repo can not be found
Richard Hartmann [Sat, 19 Nov 2011 16:19:35 +0000 (17:19 +0100)]
Remove useless line of code
Richard Hartmann [Sat, 19 Nov 2011 13:09:07 +0000 (14:09 +0100)]
Make seed-gitignore more robust and only update the ignore if needed
Richard Hartmann [Sat, 19 Nov 2011 00:52:19 +0000 (01:52 +0100)]
Make `vcsh seed-gitignore` independent of $PWD
Richard Hartmann [Sat, 19 Nov 2011 00:51:35 +0000 (01:51 +0100)]
Make `vcsh init` create and add $HOME/.gitignore.d/$repo
Richard Hartmann [Sat, 19 Nov 2011 00:31:51 +0000 (01:31 +0100)]
Fix typo
Gernot Schulz [Fri, 18 Nov 2011 18:59:45 +0000 (19:59 +0100)]
Merge branch 'master' into docs
Richard Hartmann [Fri, 18 Nov 2011 18:24:47 +0000 (19:24 +0100)]
Update README.md
github:
fixes #6
Richard Hartmann [Fri, 18 Nov 2011 18:19:39 +0000 (19:19 +0100)]
Update README.md
for github:
fix #9