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

12 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>`

12 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>`

12 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

12 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

12 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

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

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

12 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

12 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

12 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!)

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

12 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

13 years agoUpdate `vcsh delete`
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

13 years agoImplement `vcsh delete $repo`
Richard Hartmann [Sat, 19 Nov 2011 22:37:37 +0000 (23:37 +0100)]
Implement `vcsh delete $repo`

13 years agoQuit vcsh if repo can not be found
Richard Hartmann [Sat, 19 Nov 2011 16:25:51 +0000 (17:25 +0100)]
Quit vcsh if repo can not be found

13 years agoRemove useless line of code
Richard Hartmann [Sat, 19 Nov 2011 16:19:35 +0000 (17:19 +0100)]
Remove useless line of code

13 years agoMake seed-gitignore more robust and only update the ignore if needed
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

13 years agoMake `vcsh seed-gitignore` independent of $PWD
Richard Hartmann [Sat, 19 Nov 2011 00:52:19 +0000 (01:52 +0100)]
Make `vcsh seed-gitignore` independent of $PWD

13 years agoMake `vcsh init` create and add $HOME/.gitignore.d/$repo
Richard Hartmann [Sat, 19 Nov 2011 00:51:35 +0000 (01:51 +0100)]
Make `vcsh init` create and add $HOME/.gitignore.d/$repo

13 years agoFix typo
Richard Hartmann [Sat, 19 Nov 2011 00:31:51 +0000 (01:31 +0100)]
Fix typo

13 years agoMerge branch 'master' into docs
Gernot Schulz [Fri, 18 Nov 2011 18:59:45 +0000 (19:59 +0100)]
Merge branch 'master' into docs

13 years agoUpdate README.md
Richard Hartmann [Fri, 18 Nov 2011 18:24:47 +0000 (19:24 +0100)]
Update README.md

github:
fixes #6

13 years agoUpdate README.md
Richard Hartmann [Fri, 18 Nov 2011 18:19:39 +0000 (19:19 +0100)]
Update README.md

for github:
fix #9

13 years agoMerge pull request #8 from Dieterbe/xdg
Richard Hartmann [Fri, 18 Nov 2011 18:04:24 +0000 (10:04 -0800)]
Merge pull request #8 from Dieterbe/xdg

Do not rely on XDG settings being the defaults

The examples may now fail/act weirdly if XDG variables are not set, yet it's an overall benefit to change this.

13 years agoImprove feedback
Richard Hartmann [Fri, 18 Nov 2011 17:57:04 +0000 (18:57 +0100)]
Improve feedback

13 years agoCreate .gitignore.d/ in case it does not exist
Richard Hartmann [Fri, 18 Nov 2011 17:54:46 +0000 (18:54 +0100)]
Create .gitignore.d/ in case it does not exist

13 years agoAutomate handling of .gitignore.d/$REPO_NAME
Richard Hartmann [Fri, 18 Nov 2011 17:09:28 +0000 (18:09 +0100)]
Automate handling of .gitignore.d/$REPO_NAME

excludesfile = .gitignore.d/$REPO_NAME is set on

* init
* clone
* seed-gitignore

13 years agoDo not rely on XDG settings being the defaults
Dieter Plaetinck [Fri, 18 Nov 2011 17:03:08 +0000 (18:03 +0100)]
Do not rely on XDG settings being the defaults

13 years agoSome README fixes
Gernot Schulz [Fri, 18 Nov 2011 09:58:19 +0000 (10:58 +0100)]
Some README fixes

13 years agoIgnore patch files
Richard Hartmann [Thu, 17 Nov 2011 23:37:07 +0000 (00:37 +0100)]
Ignore patch files

13 years agoClean and fix docs a bit
Richard Hartmann [Thu, 17 Nov 2011 23:35:44 +0000 (00:35 +0100)]
Clean and fix docs a bit

13 years agoMerge EXAMPLES into README, restructure, some corrections
Gernot Schulz [Thu, 17 Nov 2011 13:07:22 +0000 (14:07 +0100)]
Merge EXAMPLES into README, restructure, some corrections

13 years agoIntroduce seed-gitignore to, well, seed gitignore..
Richard Hartmann [Wed, 16 Nov 2011 21:29:16 +0000 (22:29 +0100)]
Introduce seed-gitignore to, well, seed gitignore..

13 years agoActually commit new INSTALL.md
Richard Hartmann [Wed, 16 Nov 2011 20:39:20 +0000 (21:39 +0100)]
Actually commit new INSTALL.md

13 years agoINSTALL.md really only talks about install-related stuff, now
Richard Hartmann [Wed, 16 Nov 2011 20:32:03 +0000 (21:32 +0100)]
INSTALL.md really only talks about install-related stuff, now

Renamed the original INSTALL.md to EXAMPLES.md and created a new
INSTALL.md

13 years agoUpdate TOOD
Richard Hartmann [Wed, 16 Nov 2011 11:23:36 +0000 (12:23 +0100)]
Update TOOD

13 years agoImprove error message for aborted clone
Richard Hartmann [Wed, 16 Nov 2011 11:00:58 +0000 (12:00 +0100)]
Improve error message for aborted clone

13 years agoMake vcsh heed $VCSH_BASE if already defined
Richard Hartmann [Mon, 14 Nov 2011 09:01:09 +0000 (10:01 +0100)]
Make vcsh heed $VCSH_BASE if already defined

13 years agoCreate .gitignore
Richard Hartmann [Mon, 14 Nov 2011 01:45:31 +0000 (02:45 +0100)]
Create .gitignore

13 years agoCreate Makefile
Richard Hartmann [Mon, 14 Nov 2011 01:44:52 +0000 (02:44 +0100)]
Create Makefile

13 years agoMinimal grammatical improvement.
Richard Hartmann [Sat, 12 Nov 2011 09:20:17 +0000 (10:20 +0100)]
Minimal grammatical improvement.

13 years agoMake Markdown source easier to read
Gernot Schulz [Fri, 11 Nov 2011 15:30:12 +0000 (16:30 +0100)]
Make Markdown source easier to read