]> 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
12 years agoMerge branch 'hook-support'
Richard Hartmann [Mon, 13 Feb 2012 01:02:23 +0000 (02:02 +0100)]
Merge branch 'hook-support'

12 years agoAdd hooks for generic command execution
Richard Hartmann [Wed, 18 Jan 2012 02:23:19 +0000 (03:23 +0100)]
Add hooks for generic command execution

pre-command and post-command will always be executed before and after
any command is being executed. This does not affect inner calls.

12 years agoMerge branch 'which'
Richard Hartmann [Fri, 10 Feb 2012 17:14:42 +0000 (18:14 +0100)]
Merge branch 'which'

12 years agoImprove wording in docs
Richard Hartmann [Fri, 10 Feb 2012 17:13:29 +0000 (18:13 +0100)]
Improve wording in docs

12 years agoAdd docs for `vcsh which`
Richard Hartmann [Fri, 10 Feb 2012 16:12:04 +0000 (17:12 +0100)]
Add docs for `vcsh which`

12 years agoMake parser more robust
Richard Hartmann [Fri, 10 Feb 2012 16:55:48 +0000 (17:55 +0100)]
Make parser more robust

12 years agoImplement `vcsh which`
Richard Hartmann [Fri, 10 Feb 2012 16:05:49 +0000 (17:05 +0100)]
Implement `vcsh which`

12 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Fri, 10 Feb 2012 16:39:54 +0000 (17:39 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

12 years agoFix `vcsh delete`
Richard Hartmann [Fri, 10 Feb 2012 16:38:35 +0000 (17:38 +0100)]
Fix `vcsh delete`

Use rm -r instead of rmdir as the directory will _never_ be empty

12 years agoImprove man page
Richard Hartmann [Fri, 10 Feb 2012 16:12:37 +0000 (17:12 +0100)]
Improve man page

12 years agoFix quoting
Richard Hartmann [Fri, 10 Feb 2012 16:06:30 +0000 (17:06 +0100)]
Fix quoting

12 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Fri, 10 Feb 2012 16:02:34 +0000 (17:02 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

12 years agoFormatting
Richard Hartmann [Fri, 10 Feb 2012 15:26:20 +0000 (16:26 +0100)]
Formatting

12 years agoUpdate README.md
Richard Hartmann [Tue, 7 Feb 2012 14:05:02 +0000 (15:05 +0100)]
Update README.md

Add mr's vcsh lib to docs

12 years agoUpdate README.md
Richard Hartmann [Tue, 7 Feb 2012 13:59:51 +0000 (14:59 +0100)]
Update README.md

* Make include more resilient (Thanks to Thomas Koch)
* Fix emphasis issues with underscores in variable names in MarkDown

12 years agoUpdate README.md
Richard Hartmann [Mon, 6 Feb 2012 17:53:36 +0000 (18:53 +0100)]
Update README.md

Thanks to Brain May for pointing this out.

12 years agoMore documentation fixes
Richard Hartmann [Fri, 3 Feb 2012 01:35:11 +0000 (02:35 +0100)]
More documentation fixes

fixes #22

12 years agoFix documentation
Richard Hartmann [Fri, 3 Feb 2012 01:09:54 +0000 (02:09 +0100)]
Fix documentation

Thanks to Brian May for reporting this.

fix #22

12 years agoTell people when hooks are executed
Richard Hartmann [Sun, 29 Jan 2012 03:13:19 +0000 (04:13 +0100)]
Tell people when hooks are executed

12 years agoAdd AUTHORS
Richard Hartmann [Sun, 29 Jan 2012 03:01:47 +0000 (04:01 +0100)]
Add AUTHORS

12 years agoImprove quoting
Richard Hartmann [Mon, 23 Jan 2012 01:53:59 +0000 (02:53 +0100)]
Improve quoting

12 years agoBetter quoting
Richard Hartmann [Sun, 22 Jan 2012 18:05:40 +0000 (19:05 +0100)]
Better quoting

12 years agoFormatting
Richard Hartmann [Sun, 22 Jan 2012 18:03:22 +0000 (19:03 +0100)]
Formatting

12 years agoSlightly better if clause
Richard Hartmann [Sun, 22 Jan 2012 18:01:54 +0000 (19:01 +0100)]
Slightly better if clause

12 years agoMinimal strings updates
Richard Hartmann [Sun, 22 Jan 2012 18:00:50 +0000 (19:00 +0100)]
Minimal strings updates

12 years agoUpdate copyright
Richard Hartmann [Mon, 16 Jan 2012 01:07:11 +0000 (02:07 +0100)]
Update copyright

12 years agoImprove hook documentation
Richard Hartmann [Mon, 16 Jan 2012 00:55:47 +0000 (01:55 +0100)]
Improve hook documentation

12 years agoMerge branch 'hook-support'
Richard Hartmann [Sat, 14 Jan 2012 17:53:50 +0000 (18:53 +0100)]
Merge branch 'hook-support'

12 years agoDelete TODO
Richard Hartmann [Sat, 14 Jan 2012 17:52:59 +0000 (18:52 +0100)]
Delete TODO

12 years agoMerge pull request #20 from vdemeester/hook-support
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()

12 years agoAdd setup hook
Vincent Demeester [Sat, 14 Jan 2012 17:48:14 +0000 (18:48 +0100)]
Add setup hook

12 years agoImprove hook support
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()

12 years agoImplement hook system
Richard Hartmann [Fri, 13 Jan 2012 23:07:24 +0000 (00:07 +0100)]
Implement hook system

Thanks to Vincent Demeester for this idea.

12 years agoUpdate TODO
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...

12 years agoAdd author email
Richard Hartmann [Fri, 30 Dec 2011 12:53:29 +0000 (13:53 +0100)]
Add author email

12 years agoFix mistake in README.md
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

12 years agoMake Makefile not install INSTALL.md
Richard Hartmann [Tue, 27 Dec 2011 14:07:46 +0000 (15:07 +0100)]
Make Makefile not install INSTALL.md

12 years agoUpdate manpage
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

12 years agoUpdate README.md to reference .gitignore.d
Richard Hartmann [Tue, 27 Dec 2011 13:29:33 +0000 (14:29 +0100)]
Update README.md to reference .gitignore.d

12 years agoIntroduce config file and control over what goes into .gitignore/$foo
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'

12 years agoUpdate tagline
Richard Hartmann [Mon, 19 Dec 2011 23:54:22 +0000 (00:54 +0100)]
Update tagline

12 years agoAdd contact information
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..

12 years agoMake `vcsh clone` work with older git versions
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

12 years agoMake `vcsh clone` handle empty remotes gracefully
Richard Hartmann [Tue, 6 Dec 2011 20:54:35 +0000 (21:54 +0100)]
Make `vcsh clone` handle empty remotes gracefully

12 years agoUpdate TODO; will be finished and then retired soon
Richard Hartmann [Mon, 5 Dec 2011 13:43:03 +0000 (14:43 +0100)]
Update TODO; will be finished and then retired soon

12 years agoUse $VCSH_BASE instead of $HOME
Richard Hartmann [Mon, 5 Dec 2011 11:27:32 +0000 (12:27 +0100)]
Use $VCSH_BASE instead of $HOME

12 years agoImprove help text
Richard Hartmann [Mon, 5 Dec 2011 10:49:36 +0000 (11:49 +0100)]
Improve help text

12 years agoRemove useless condition
Richard Hartmann [Mon, 5 Dec 2011 10:47:37 +0000 (11:47 +0100)]
Remove useless condition

12 years agoAdd license information, all authors to date agreed upon GPL 2+
Richard Hartmann [Mon, 5 Dec 2011 10:44:36 +0000 (11:44 +0100)]
Add license information, all authors to date agreed upon GPL 2+

12 years agoUpdated .gitignore
Richard Hartmann [Mon, 5 Dec 2011 10:43:58 +0000 (11:43 +0100)]
Updated .gitignore

12 years agoRename `vcsh seed-gitignore` to `vcsh write-gitignore`
Richard Hartmann [Mon, 5 Dec 2011 10:26:10 +0000 (11:26 +0100)]
Rename `vcsh seed-gitignore` to `vcsh write-gitignore`

13 years agoForgot to commit manpage for `vcsh <repo>`
Richard Hartmann [Sun, 4 Dec 2011 22:41:45 +0000 (23:41 +0100)]
Forgot to commit manpage for `vcsh <repo>`

13 years agoMake `vcsh <repo>` a shortcut for `vcsh enter <repo>`
Richard Hartmann [Sat, 3 Dec 2011 01:44:16 +0000 (02:44 +0100)]
Make `vcsh <repo>` a shortcut for `vcsh enter <repo>`

13 years agoAdd docs for list-tracked and list-tracked-by
Richard Hartmann [Fri, 2 Dec 2011 20:47:38 +0000 (21:47 +0100)]
Add docs for list-tracked and list-tracked-by

13 years agoAdd list-tracked-by and list-tracked
Richard Hartmann [Wed, 30 Nov 2011 02:41:28 +0000 (03:41 +0100)]
Add list-tracked-by and list-tracked

13 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Wed, 30 Nov 2011 02:44:14 +0000 (03:44 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

Conflicts:
vcsh

13 years agoMake debugging more verbose
Richard Hartmann [Wed, 30 Nov 2011 02:39:28 +0000 (03:39 +0100)]
Make debugging more verbose

13 years agoRemove stale code
Richard Hartmann [Wed, 30 Nov 2011 02:24:58 +0000 (03:24 +0100)]
Remove stale code

13 years agoUpdate setup() to only add .gitignore/$repo if it exists
Richard Hartmann [Wed, 30 Nov 2011 02:22:07 +0000 (03:22 +0100)]
Update setup() to only add .gitignore/$repo if it exists

13 years agoExtend mr support to all commands
Richard Hartmann [Tue, 29 Nov 2011 14:53:00 +0000 (15:53 +0100)]
Extend mr support to all commands

13 years agoUpdate to mr support
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!)

13 years agoAdd support for mr
Richard Hartmann [Tue, 29 Nov 2011 13:58:40 +0000 (14:58 +0100)]
Add support for mr

13 years agoFix regression from d4326c2c1c2d5e9626f8d9e2ba0e5e3848772238
Richard Hartmann [Tue, 29 Nov 2011 14:10:52 +0000 (15:10 +0100)]
Fix regression from d4326c2c1c2d5e9626f8d9e2ba0e5e3848772238

13 years agoFix syntax errors
Richard Hartmann [Sun, 27 Nov 2011 19:35:41 +0000 (20:35 +0100)]
Fix syntax errors

13 years agoMerge remote-tracking branch 'Dieter_be/master'
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

13 years agoAdd more error handling
Richard Hartmann [Sat, 26 Nov 2011 22:13:49 +0000 (23:13 +0100)]
Add more error handling

13 years agoRemove old cleanup code for `vcsh use`
Richard Hartmann [Sat, 26 Nov 2011 18:01:57 +0000 (19:01 +0100)]
Remove old cleanup code for `vcsh use`

13 years agoUse `rmdir` instead of `rm -rf`
Richard Hartmann [Sat, 26 Nov 2011 17:58:00 +0000 (18:58 +0100)]
Use `rmdir` instead of `rm -rf`

13 years agoIntroduce `vcsh mv`
Richard Hartmann [Sat, 26 Nov 2011 17:35:38 +0000 (18:35 +0100)]
Introduce `vcsh mv`

13 years agoRemove duplicate & no-op code
Richard Hartmann [Sat, 26 Nov 2011 10:50:28 +0000 (11:50 +0100)]
Remove duplicate & no-op code

13 years agoUse explicit variable names and improve quoting
Richard Hartmann [Sat, 26 Nov 2011 10:39:32 +0000 (11:39 +0100)]
Use explicit variable names and improve quoting

13 years agoIntroduce `make test`
Richard Hartmann [Sat, 26 Nov 2011 10:30:12 +0000 (11:30 +0100)]
Introduce `make test`

13 years agoremove left-over useless exit code
Dieter Plaetinck [Sat, 26 Nov 2011 10:26:42 +0000 (11:26 +0100)]
remove left-over useless exit code

13 years agoMinor formatting updates
Richard Hartmann [Fri, 25 Nov 2011 19:24:01 +0000 (20:24 +0100)]
Minor formatting updates

13 years agoCleanup use() exit scenarios
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

13 years agoCleanup argument parsing and delegation
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

13 years agoClean up Dieter's patches
Richard Hartmann [Thu, 24 Nov 2011 20:07:39 +0000 (21:07 +0100)]
Clean up Dieter's patches

13 years agoMerge pull request #13 from Dieterbe/master
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()

13 years agoMake info calls consistent
Dieter Plaetinck [Thu, 24 Nov 2011 19:31:52 +0000 (20:31 +0100)]
Make info calls consistent

13 years agoMake error reporting sane
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

13 years agoUse exit and {} instead of return and ()
Richard Hartmann [Thu, 24 Nov 2011 19:05:30 +0000 (20:05 +0100)]
Use exit and {} instead of return and ()

13 years agoRemove `use` and `exit`
Richard Hartmann [Thu, 24 Nov 2011 18:42:10 +0000 (19:42 +0100)]
Remove `use` and `exit`

13 years agoIntroduce `vcsh setup`
Richard Hartmann [Wed, 23 Nov 2011 17:38:36 +0000 (18:38 +0100)]
Introduce `vcsh setup`

13 years agoRe-arrange functions
Richard Hartmann [Wed, 23 Nov 2011 17:02:44 +0000 (18:02 +0100)]
Re-arrange functions

13 years agoFix `vcsh clone`
Richard Hartmann [Wed, 23 Nov 2011 11:46:38 +0000 (12:46 +0100)]
Fix `vcsh clone`

Forgot to set VCSH_COMMAND after the refactoring

13 years agoUpdate docs
Richard Hartmann [Tue, 22 Nov 2011 23:04:33 +0000 (00:04 +0100)]
Update docs

13 years agoIntroduce `vcsh enter`
Richard Hartmann [Tue, 22 Nov 2011 23:04:17 +0000 (00:04 +0100)]
Introduce `vcsh enter`

13 years agoUpdate docs
Richard Hartmann [Tue, 22 Nov 2011 23:01:37 +0000 (00:01 +0100)]
Update docs

13 years agoWarn when source-only functions are called in executed context
Richard Hartmann [Tue, 22 Nov 2011 22:55:50 +0000 (23:55 +0100)]
Warn when source-only functions are called in executed context

13 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Tue, 22 Nov 2011 21:00:19 +0000 (22:00 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

13 years agoRe-introduce `vcsh use` and `vcsh exit`
Richard Hartmann [Tue, 22 Nov 2011 20:09:00 +0000 (21:09 +0100)]
Re-introduce `vcsh use` and `vcsh exit`

github:
closes: #4

13 years agoIgnore Vim swap files
Richard Hartmann [Tue, 22 Nov 2011 20:03:05 +0000 (21:03 +0100)]
Ignore Vim swap files

13 years agoGet rid exit(3)
Richard Hartmann [Tue, 22 Nov 2011 19:58:10 +0000 (20:58 +0100)]
Get rid exit(3)

13 years agoImprove seeg-gitignore to work around git's issues; still not happy
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

13 years agoRename $REPO_NAME -> $VCSH_REPO_NAME
Richard Hartmann [Tue, 22 Nov 2011 18:43:17 +0000 (19:43 +0100)]
Rename $REPO_NAME -> $VCSH_REPO_NAME

13 years agoMore refactoring cleanups; hopefully the end of this
Richard Hartmann [Tue, 22 Nov 2011 16:28:28 +0000 (17:28 +0100)]
More refactoring cleanups; hopefully the end of this

13 years agoFix seed-gitignore, which was broken by the refactoring
Richard Hartmann [Tue, 22 Nov 2011 15:48:23 +0000 (16:48 +0100)]
Fix seed-gitignore, which was broken by the refactoring

13 years agoUpdated TODO
Richard Hartmann [Mon, 21 Nov 2011 01:44:11 +0000 (02:44 +0100)]
Updated TODO

13 years agoMajor refactoring and one new feature
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>

13 years agoReformat and update docs, completion etc
Richard Hartmann [Sun, 20 Nov 2011 10:43:01 +0000 (11:43 +0100)]
Reformat and update docs, completion etc