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

13 years agoSome fixes; formatting
Gernot Schulz [Fri, 11 Nov 2011 15:25:54 +0000 (16:25 +0100)]
Some fixes; formatting

13 years agoMore formatting...
Richard Hartmann [Fri, 11 Nov 2011 14:16:04 +0000 (15:16 +0100)]
More formatting...

13 years agoFix formatting
Richard Hartmann [Fri, 11 Nov 2011 14:14:42 +0000 (15:14 +0100)]
Fix formatting

13 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Fri, 11 Nov 2011 13:25:49 +0000 (14:25 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

13 years agoAdd a comma
Richard Hartmann [Fri, 11 Nov 2011 13:25:32 +0000 (14:25 +0100)]
Add a comma

13 years agoadd subsection numbering
Gernot Schulz [Thu, 10 Nov 2011 20:51:13 +0000 (21:51 +0100)]
add subsection numbering

13 years agoFix codeblock indentation Thanks to Github's formatting the extra indentation is...
Gernot Schulz [Thu, 10 Nov 2011 20:42:35 +0000 (21:42 +0100)]
Fix codeblock indentation Thanks to Github's formatting the extra indentation is unnecessary.

13 years agoCover using vcsh w/o mr in the docs
Gernot Schulz [Thu, 10 Nov 2011 20:40:18 +0000 (21:40 +0100)]
Cover using vcsh w/o mr in the docs

13 years agoAdd ronn-based manpage
Richard Hartmann [Fri, 11 Nov 2011 01:28:37 +0000 (02:28 +0100)]
Add ronn-based manpage

13 years agoEnable github to parse INSTALL & README as markdown
Richard Hartmann [Thu, 10 Nov 2011 19:43:50 +0000 (20:43 +0100)]
Enable github to parse INSTALL & README as markdown

13 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Thu, 10 Nov 2011 17:44:49 +0000 (18:44 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

13 years agoExtend README
Richard Hartmann [Thu, 10 Nov 2011 17:43:50 +0000 (18:43 +0100)]
Extend README

Thanks to Gernot Schulz for writing most of the new content. It somewhat overlaps with INSTALL, but more docs are better either way.

13 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Thu, 27 Oct 2011 21:25:36 +0000 (23:25 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

Conflicts:
INSTALL

13 years agoMake INSTALL even better
Richard Hartmann [Thu, 27 Oct 2011 21:20:49 +0000 (23:20 +0200)]
Make INSTALL even better

Thanks to Gernot Schulz for most of the changes

13 years agoImprove docs
Richard Hartmann [Thu, 27 Oct 2011 14:56:51 +0000 (16:56 +0200)]
Improve docs

13 years agoIntroduce third way in INSTALL
Richard Hartmann [Wed, 26 Oct 2011 22:27:26 +0000 (00:27 +0200)]
Introduce third way in INSTALL

As this is non-destructive, people may prefer it

13 years agoMake INSTALL easy to use by way of templating
Richard Hartmann [Wed, 26 Oct 2011 22:16:12 +0000 (00:16 +0200)]
Make INSTALL easy to use by way of templating

13 years agoUpdated TODO
Richard Hartmann [Wed, 26 Oct 2011 21:50:38 +0000 (23:50 +0200)]
Updated TODO

13 years agoFix init
Richard Hartmann [Wed, 26 Oct 2011 20:55:26 +0000 (22:55 +0200)]
Fix init

13 years agoMake debug & verbose testing more resilient
Richard Hartmann [Wed, 26 Oct 2011 20:47:38 +0000 (22:47 +0200)]
Make debug & verbose testing more resilient

13 years agoFix stupid bug
Richard Hartmann [Wed, 26 Oct 2011 20:37:57 +0000 (22:37 +0200)]
Fix stupid bug

13 years agoMore quoting and temporary removal of `vcsh exit`
Richard Hartmann [Wed, 26 Oct 2011 19:32:53 +0000 (21:32 +0200)]
More quoting and temporary removal of `vcsh exit`

13 years ago`vcsh init` without repo name prints help, now
Richard Hartmann [Sat, 22 Oct 2011 16:42:55 +0000 (18:42 +0200)]
`vcsh init` without repo name prints help, now

13 years agoRelease of v0.20111018
Richard Hartmann [Tue, 18 Oct 2011 12:23:30 +0000 (14:23 +0200)]
Release of v0.20111018

* Fixed issue where vcsh init & clone would print help as they
  tried to call currently non-existant vcsh use

13 years agoRelease of 0.20111017
Richard Hartmann [Mon, 17 Oct 2011 08:19:14 +0000 (10:19 +0200)]
Release of 0.20111017

* Has been tested on my and other's machines for months
* Includes zsh completion
* Does not support `vcsh use`, but in a releasable state otherwise

13 years agoSwitched from [ -n "$state" ] to [ "$state" = '1']
Richard Hartmann [Sun, 18 Sep 2011 00:07:40 +0000 (02:07 +0200)]
Switched from [ -n "$state" ] to [ "$state" = '1']

13 years agoMade fully(?) POSIX shell compliant, some minor cleanups
Richard Hartmann [Sat, 17 Sep 2011 23:20:02 +0000 (01:20 +0200)]
Made fully(?) POSIX shell compliant, some minor cleanups

* This version should be fully POSIX shell compliant
* Quoted all variables withing [ ]
* Added debugging and verbose output via shell variables
* Cleaned up INSTALL

13 years agoUpdated TODO
Richard Hartmann [Fri, 10 Jun 2011 22:09:12 +0000 (00:09 +0200)]
Updated TODO

13 years agomore TODO
Richard Hartmann [Sun, 5 Jun 2011 09:14:56 +0000 (11:14 +0200)]
more TODO

13 years agoAdded rudimentary INSTALL file
Richard Hartmann [Sat, 4 Jun 2011 08:43:24 +0000 (10:43 +0200)]
Added rudimentary INSTALL file

13 years agoMerge pull request #3 from Dieterbe/master
Richard Hartmann [Fri, 3 Jun 2011 15:11:39 +0000 (08:11 -0700)]
Merge pull request #3 from Dieterbe/master

Switch from zsh to POSIX sh

All zsh-specific stuff will be done in a zsh function which will wrap vcsh.

13 years agobugfix: "return" is only valid in functions, replace with "exit"
Dieter Plaetinck [Thu, 26 May 2011 22:01:43 +0000 (00:01 +0200)]
bugfix: "return" is only valid in functions, replace with "exit"

13 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Thu, 26 May 2011 16:19:32 +0000 (18:19 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

13 years agoUpdated TODO to reflect current status
Richard Hartmann [Thu, 26 May 2011 16:18:42 +0000 (18:18 +0200)]
Updated TODO to reflect current status

13 years agoAvoid error when executed by /bin/sh
Richard Hartmann [Tue, 24 May 2011 21:46:16 +0000 (23:46 +0200)]
Avoid error when executed by /bin/sh

No idea why

  [[ -n $ZSH_VERSION ]] && vcsh_exit() {vcsh exit; zle reset-prompt;}

errors out with

  vcsh: 96: Syntax error: "}" unexpected (expecting "fi")

but oh well.

13 years agoCleanup of Corey's patch
Richard Hartmann [Mon, 23 May 2011 22:58:26 +0000 (00:58 +0200)]
Cleanup of Corey's patch

13 years agoTest conditions for ~/.config
Corey Quinn [Mon, 23 May 2011 02:06:14 +0000 (19:06 -0700)]
Test conditions for ~/.config

13 years agoMinor cleanups
Richard Hartmann [Mon, 23 May 2011 22:52:23 +0000 (00:52 +0200)]
Minor cleanups

13 years agoAdded README
Richard Hartmann [Sun, 22 May 2011 22:36:53 +0000 (00:36 +0200)]
Added README

13 years agoAdded zsh completion
Richard Hartmann [Mon, 16 May 2011 00:33:10 +0000 (02:33 +0200)]
Added zsh completion

13 years agoDon't export $GIT_REMOTE
Richard Hartmann [Sun, 1 May 2011 23:18:50 +0000 (01:18 +0200)]
Don't export $GIT_REMOTE

13 years agoallow vcsh clone <repo>; without <target>
Richard Hartmann [Sun, 1 May 2011 21:25:30 +0000 (23:25 +0200)]
allow vcsh clone <repo>; without <target>

13 years agoInitial commit
Richard Hartmann [Thu, 28 Apr 2011 11:51:00 +0000 (13:51 +0200)]
Initial commit