]> 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
9 years agoFixed typo in vcsh.1.ronn
Mathias Svensson [Mon, 12 Jan 2015 08:13:32 +0000 (09:13 +0100)]
Fixed typo in vcsh.1.ronn

10 years agoRelease 1.20141026
Richard Hartmann [Sat, 25 Oct 2014 22:24:07 +0000 (00:24 +0200)]
Release 1.20141026

10 years agovcsh: Improve clone() error handling
Richard Hartmann [Sat, 25 Oct 2014 21:23:05 +0000 (23:23 +0200)]
vcsh: Improve clone() error handling

10 years agovcsh: FIX fatal()
Richard Hartmann [Sat, 25 Oct 2014 21:22:54 +0000 (23:22 +0200)]
vcsh: FIX fatal()

10 years agoMerge branch 'feature--clone_branch'
Richard Hartmann [Sat, 25 Oct 2014 20:33:39 +0000 (22:33 +0200)]
Merge branch 'feature--clone_branch'

Conflicts:
vcsh

10 years agoRelease v1.20141025
Richard Hartmann [Sat, 25 Oct 2014 19:25:49 +0000 (21:25 +0200)]
Release v1.20141025

10 years agoUse cowsay from the PATH instead
Dridi Boukelmoune [Fri, 9 May 2014 08:14:49 +0000 (10:14 +0200)]
Use cowsay from the PATH instead

10 years agoMerge branch 'feature/repository_specific_configuration'
Richard Hartmann [Sat, 25 Oct 2014 05:58:06 +0000 (07:58 +0200)]
Merge branch 'feature/repository_specific_configuration'

10 years agoMerge branch 'feature/status_against_remote_tracking'
Richard Hartmann [Sat, 25 Oct 2014 05:57:56 +0000 (07:57 +0200)]
Merge branch 'feature/status_against_remote_tracking'

Conflicts:
vcsh

10 years agovcsh: support repo-specific config files
Richard Hartmann [Fri, 24 Oct 2014 20:19:08 +0000 (22:19 +0200)]
vcsh: support repo-specific config files

10 years agoMerge pull request #144 from mirabilos/patch-1
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

10 years agopermit "-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

10 years agodoc/vcsh.1.ronn: Document clone [-b `branch`]
Dridi Boukelmoune [Fri, 24 Oct 2014 09:22:41 +0000 (11:22 +0200)]
doc/vcsh.1.ronn: Document clone [-b `branch`]

10 years agovcsh: Fail fast if the clone branch is not valid
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.

10 years agovcsh: Replace `list-tracked-by` with `list-tracked <repo>`
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

10 years agovcsh: Move list_untracked() into correct place
Richard Hartmann [Thu, 23 Oct 2014 18:46:48 +0000 (20:46 +0200)]
vcsh: Move list_untracked() into correct place

10 years agovcsh: Factor out code from status() into status_helper()
Richard Hartmann [Thu, 23 Oct 2014 18:45:06 +0000 (20:45 +0200)]
vcsh: Factor out code from status() into status_helper()

10 years agoMerge branch 'feature/list-untracked'
Richard Hartmann [Thu, 23 Oct 2014 18:38:10 +0000 (20:38 +0200)]
Merge branch 'feature/list-untracked'

github: Closes richih/vcsh#142

10 years agovcsh: Allow `vcsh list-untracked <repo>`
Richard Hartmann [Thu, 23 Oct 2014 18:37:29 +0000 (20:37 +0200)]
vcsh: Allow `vcsh list-untracked <repo>`

10 years agoMerge branch 'feature--overlay_functions'
Richard Hartmann [Thu, 23 Oct 2014 18:17:04 +0000 (20:17 +0200)]
Merge branch 'feature--overlay_functions'

10 years agovcsh.1.ronn: Make the warning even more scary
Richard Hartmann [Thu, 23 Oct 2014 18:16:36 +0000 (20:16 +0200)]
vcsh.1.ronn: Make the warning even more scary

10 years agoMerge branch 'feature--improve_clone_errors'
Richard Hartmann [Thu, 23 Oct 2014 18:03:50 +0000 (20:03 +0200)]
Merge branch 'feature--improve_clone_errors'

10 years agoAdd documentation for `list-untracked`
Richard Hartmann [Wed, 22 Oct 2014 22:57:01 +0000 (00:57 +0200)]
Add documentation for `list-untracked`

10 years ago_vcsh: Add completion for `list-untracked` and `status`
Richard Hartmann [Wed, 22 Oct 2014 22:56:10 +0000 (00:56 +0200)]
_vcsh: Add completion for `list-untracked` and `status`

10 years agovcsh: list_untracked(): Avoid `cut`; speed up `-r`
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.

10 years agovcsh: Add support for `vcsh list-untracked -r`
Richard Hartmann [Wed, 22 Oct 2014 22:40:54 +0000 (00:40 +0200)]
vcsh: Add support for `vcsh list-untracked -r`

10 years agovcsh: Remove extra function
Richard Hartmann [Wed, 22 Oct 2014 22:27:06 +0000 (00:27 +0200)]
vcsh: Remove extra function

10 years agovcsh: Use BSD/OS X compatible `mktemp`
Richard Hartmann [Wed, 22 Oct 2014 22:26:30 +0000 (00:26 +0200)]
vcsh: Use BSD/OS X compatible `mktemp`

10 years agovcsh: Fix random tab
Richard Hartmann [Wed, 22 Oct 2014 22:22:02 +0000 (00:22 +0200)]
vcsh: Fix random tab

10 years agovcsh: Make fatal() default to `exit 1`
Richard Hartmann [Wed, 22 Oct 2014 22:02:11 +0000 (00:02 +0200)]
vcsh: Make fatal() default to `exit 1`

10 years agovcsh: Make status() show commit offsets to remote tracking branch
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

10 years agoReplace temporary repository with copy based method
Mert Dirik [Wed, 22 Oct 2014 21:09:11 +0000 (00:09 +0300)]
Replace temporary repository with copy based method

10 years agovcsh: `vcsh clone [-b <branch>] <remote> [<repo>]`
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.

10 years agovcsh: Only fetch the upstream branch during clone
Dridi Boukelmoune [Sat, 12 Oct 2013 18:11:32 +0000 (20:11 +0200)]
vcsh: Only fetch the upstream branch during clone

10 years agovcsh: Create the local 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'

10 years agovcsh: Proper quoting for "$VCSH_BRANCH"
Richard Hartmann [Thu, 12 Sep 2013 21:30:27 +0000 (23:30 +0200)]
vcsh: Proper quoting for "$VCSH_BRANCH"

10 years agovcsh: Initial support for cloning from branches other than master
Richard Hartmann [Sat, 7 Sep 2013 11:34:23 +0000 (13:34 +0200)]
vcsh: Initial support for cloning from branches other than master

10 years agovcsh: Improve error handling of clone()
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

10 years agoAdd recursive option (-r)
Mert Dirik [Tue, 21 Oct 2014 13:30:43 +0000 (16:30 +0300)]
Add recursive option (-r)

10 years agoDon't use subshell when creating the temporary repo
Mert Dirik [Tue, 21 Oct 2014 12:34:29 +0000 (15:34 +0300)]
Don't use subshell when creating the temporary repo

10 years agoCheck for existence of 'comm' command
Mert Dirik [Tue, 21 Oct 2014 00:09:14 +0000 (03:09 +0300)]
Check for existence of 'comm' command

10 years agoAdd checks to file operations
Mert Dirik [Tue, 21 Oct 2014 00:08:25 +0000 (03:08 +0300)]
Add checks to file operations

10 years agoForce temporary file/directory removal
Mert Dirik [Mon, 20 Oct 2014 21:25:43 +0000 (00:25 +0300)]
Force temporary file/directory removal

10 years agovcsh: Add support for overlay functions
Richard Hartmann [Mon, 20 Oct 2014 20:37:06 +0000 (22:37 +0200)]
vcsh: Add support for overlay functions

10 years agovcsh: Make `vcsh which dontexist` exit 1
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

10 years ago3rd try
Mert Dirik [Sun, 19 Oct 2014 00:24:04 +0000 (03:24 +0300)]
3rd try

10 years agotest commit; rewrite to use comm and two temp files to get around argument too long...
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

10 years agotest commit
Richard Hartmann [Thu, 12 Jan 2012 23:43:12 +0000 (00:43 +0100)]
test commit

10 years agotest commit
Richard Hartmann [Thu, 12 Jan 2012 23:39:33 +0000 (00:39 +0100)]
test commit

10 years agoRelease v1.20141009
Richard Hartmann [Thu, 9 Oct 2014 21:22:03 +0000 (23:22 +0200)]
Release v1.20141009

10 years agoMerge pull request #139 from yuvallanger/patch-2
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`

10 years agoRename `foo` to a meaningful name `repo_name`
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.

10 years agoMerge pull request #138 from yuvallanger/patch-1
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`

10 years agotypo `that you cat track` -> `that you can track`
Yuval Langer [Sun, 7 Sep 2014 08:19:27 +0000 (11:19 +0300)]
typo `that you cat track` -> `that you can track`

10 years agoMakefile: Allow `PREFIX=foo make install`
Richard Hartmann [Mon, 25 Aug 2014 15:45:12 +0000 (17:45 +0200)]
Makefile: Allow `PREFIX=foo make install`

10 years agoMerge pull request #134 from mirabilos/master
Richard Hartmann [Sat, 7 Jun 2014 08:22:22 +0000 (10:22 +0200)]
Merge pull request #134 from mirabilos/master

fix issue 125 and some printf vulnerabilities

10 years agoMerge pull request #135 from ajschumacher/patch-1
Richard Hartmann [Fri, 23 May 2014 17:55:51 +0000 (19:55 +0200)]
Merge pull request #135 from ajschumacher/patch-1

typo: "availabile.d" to "available.d"

10 years agotypo: "availabile.d" to "available.d"
Aaron Schumacher [Wed, 21 May 2014 20:01:04 +0000 (16:01 -0400)]
typo: "availabile.d" to "available.d"

10 years agoUse cowsay from the PATH instead
Dridi Boukelmoune [Fri, 9 May 2014 08:14:49 +0000 (10:14 +0200)]
Use cowsay from the PATH instead

10 years agoDisplay full paths in list-tracked*
Thorsten Glaser [Wed, 7 May 2014 08:20:32 +0000 (10:20 +0200)]
Display full paths in list-tracked*

Closes https://github.com/RichiH/vcsh/issues/125

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Thu, 8 May 2014 17:58:56 +0000 (19:58 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agoRelease v1.20140508
Richard Hartmann [Thu, 8 May 2014 11:46:37 +0000 (13:46 +0200)]
Release v1.20140508

10 years agoRevert "Introduce static manpage as part of normal repo"
Richard Hartmann [Thu, 8 May 2014 11:42:46 +0000 (13:42 +0200)]
Revert "Introduce static manpage as part of normal repo"

This reverts commit 056f86ae9a3c25fd2e0b74ac6b81d9b0d5630818.

Conflicts:
vcsh.1

This messes too much with my Debian packaging workflow; I will introduce
a new branch with static manpages (basically what I did for homebrew).

10 years agoRelease v1.20140507
Richard Hartmann [Wed, 7 May 2014 13:07:08 +0000 (15:07 +0200)]
Release v1.20140507

10 years agoCONTRIBUTORS: Update
Richard Hartmann [Wed, 7 May 2014 13:04:10 +0000 (15:04 +0200)]
CONTRIBUTORS: Update

10 years agoDisplay full paths in list-tracked*
Thorsten Glaser [Wed, 7 May 2014 08:20:32 +0000 (10:20 +0200)]
Display full paths in list-tracked*

Closes https://github.com/RichiH/vcsh/issues/125

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
10 years agoFix format string vulnerabilities
Thorsten Glaser [Wed, 7 May 2014 08:21:35 +0000 (10:21 +0200)]
Fix format string vulnerabilities

Never pass user input as first argument of printf(1),
similar to how you never do that with printf(3).

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
10 years agoFix format string vulnerabilities
Thorsten Glaser [Wed, 7 May 2014 08:21:35 +0000 (10:21 +0200)]
Fix format string vulnerabilities

Never pass user input as first argument of printf(1),
similar to how you never do that with printf(3).

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
10 years agovcsh: Make status show commits ahead/behind remote
Richard Hartmann [Wed, 7 May 2014 07:07:56 +0000 (09:07 +0200)]
vcsh: Make status show commits ahead/behind remote

This is work in progress:
* It does not deal with repos without a remote tracking branch
* It does not share any info if run on a single repo
* I should probably factor this out in a new function

github: in response to richih/vcsh#123

10 years agoMerge pull request #129 from tfnico/patch-5
Richard Hartmann [Wed, 7 May 2014 06:39:42 +0000 (08:39 +0200)]
Merge pull request #129 from tfnico/patch-5

Suggest shorter form of vcsh pull

10 years agoMerge pull request #131 from ghedo/_vcsh
Richard Hartmann [Wed, 7 May 2014 06:38:18 +0000 (08:38 +0200)]
Merge pull request #131 from ghedo/_vcsh

_vcsh: add missing commands

10 years ago_vcsh: add missing commands
Alessandro Ghedini [Sat, 5 Apr 2014 22:13:14 +0000 (00:13 +0200)]
_vcsh: add missing commands

10 years agoMerge pull request #128 from tfnico/patch-4
Richard Hartmann [Sat, 5 Apr 2014 21:48:52 +0000 (23:48 +0200)]
Merge pull request #128 from tfnico/patch-4

Fix ticks and commas

10 years agoMerge pull request #130 from g-raud/master
Richard Hartmann [Mon, 31 Mar 2014 11:33:31 +0000 (13:33 +0200)]
Merge pull request #130 from g-raud/master

sh-code portability improvements and fixes

10 years agosh-code portability improvements and fixes
G.raud [Mon, 31 Mar 2014 06:07:55 +0000 (08:07 +0200)]
sh-code portability improvements and fixes

use export without assignment

delete needless quoting (after case, in assignments, ...)

add missing quoting (on the echo command line, ...)

make sure 'test =' is not called with empty arguments

do not call test with more than 4 arguments

10 years agoSuggest shorter form of vcsh pull
Thomas Ferris Nicolaisen [Tue, 25 Mar 2014 21:44:10 +0000 (22:44 +0100)]
Suggest shorter form of vcsh pull

10 years agoFix ticks and commas
Thomas Ferris Nicolaisen [Mon, 24 Mar 2014 18:01:28 +0000 (19:01 +0100)]
Fix ticks and commas

10 years agoMerge pull request #127 from tfnico/patch-3
Richard Hartmann [Mon, 24 Mar 2014 15:12:17 +0000 (16:12 +0100)]
Merge pull request #127 from tfnico/patch-3

Link to doc files

10 years agoLink to doc files
Thomas Ferris Nicolaisen [Mon, 24 Mar 2014 14:30:09 +0000 (15:30 +0100)]
Link to doc files

GitHub markdown supports linking to relative files.

10 years agoREADME.md: Move into doc/; put in tiny one in place
Richard Hartmann [Mon, 24 Mar 2014 13:42:43 +0000 (14:42 +0100)]
README.md: Move into doc/; put in tiny one in place

Hopefully, this makes vcsh less scary

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Mon, 24 Mar 2014 09:30:00 +0000 (10:30 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agoMove docs to doc/
Richard Hartmann [Mon, 24 Mar 2014 09:25:41 +0000 (10:25 +0100)]
Move docs to doc/

10 years agoMerge pull request #124 from tfnico/patch-2
Richard Hartmann [Sun, 23 Mar 2014 19:55:38 +0000 (20:55 +0100)]
Merge pull request #124 from tfnico/patch-2

Fix a typo and some casing

10 years agoFix a typo and some casing
Thomas Ferris Nicolaisen [Sun, 23 Mar 2014 18:53:29 +0000 (19:53 +0100)]
Fix a typo and some casing

10 years agoCONTRIBUTORS: Update
Richard Hartmann [Sun, 16 Mar 2014 20:27:25 +0000 (21:27 +0100)]
CONTRIBUTORS: Update

10 years agovcsh: Update copyright information
Richard Hartmann [Sun, 16 Mar 2014 19:32:42 +0000 (20:32 +0100)]
vcsh: Update copyright information

10 years agoAdd copyright blurb for https://github.com/RichiH/vcsh/issues/121
Richard Hartmann [Sun, 16 Mar 2014 19:32:13 +0000 (20:32 +0100)]
Add copyright blurb for https://github.com/RichiH/vcsh/issues/121

10 years agoMerge remote-tracking branch 'andschwa/docs'
Richard Hartmann [Sat, 15 Mar 2014 14:01:44 +0000 (15:01 +0100)]
Merge remote-tracking branch 'andschwa/docs'

10 years agoMerge remote-tracking branch 'jfw/master'
Richard Hartmann [Sat, 15 Mar 2014 13:58:30 +0000 (14:58 +0100)]
Merge remote-tracking branch 'jfw/master'

10 years agoRelease v1.20140313
Richard Hartmann [Thu, 13 Mar 2014 21:36:27 +0000 (22:36 +0100)]
Release v1.20140313

The "Git won the Linux New Media Award for Outstanding contributions
to Open Source" edition.

10 years agoUpdate manpage
Richard Hartmann [Thu, 13 Mar 2014 21:35:16 +0000 (22:35 +0100)]
Update manpage

10 years agoImproved post-init-add-origin hook
Jeff Fein-Worton [Wed, 12 Mar 2014 05:47:27 +0000 (22:47 -0700)]
Improved post-init-add-origin hook

Added better help text
Added error message if $GITURL unset

10 years agoOne more
Andrew Schwartzmeyer [Fri, 7 Mar 2014 04:43:46 +0000 (20:43 -0800)]
One more

10 years agoVarious fixes to readme
Andrew Schwartzmeyer [Fri, 7 Mar 2014 04:06:35 +0000 (20:06 -0800)]
Various fixes to readme

10 years agoMerge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Wed, 5 Mar 2014 17:06:11 +0000 (18:06 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh

10 years agoMerge branch 'feature/gitattributes'
Richard Hartmann [Wed, 5 Mar 2014 17:06:04 +0000 (18:06 +0100)]
Merge branch 'feature/gitattributes'

Conflicts:
vcsh

10 years agovcsh: Default to not using ~/.gitattributes.d
Richard Hartmann [Tue, 4 Mar 2014 19:32:22 +0000 (20:32 +0100)]
vcsh: Default to not using ~/.gitattributes.d

github: fixes richih/vcsh#111

10 years agoMerge pull request #108 from alerque/master
Richard Hartmann [Thu, 27 Feb 2014 16:27:26 +0000 (17:27 +0100)]
Merge pull request #108 from alerque/master

assorted readme updates and other fixes

10 years agoMerge pull request #108 from alerque/master
Richard Hartmann [Thu, 27 Feb 2014 16:27:26 +0000 (17:27 +0100)]
Merge pull request #108 from alerque/master

assorted readme updates and other fixes

10 years agouse more portable find syntax
Caleb Maclennan [Wed, 26 Feb 2014 16:44:19 +0000 (18:44 +0200)]
use more portable find syntax

BSD find (e.g. as found on Mac OSX) has more strict rules for parsing
arguments and needs a path. PWD is not assumed as on GNU find.