]>
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:
Richard Hartmann [Sun, 29 Dec 2013 00:54:00 +0000 (01:54 +0100)]
vcsh: Improve comments
Richard Hartmann [Sun, 29 Dec 2013 00:51:14 +0000 (01:51 +0100)]
vcsh: Typo
Mikhail Gusarov [Sat, 28 Dec 2013 16:41:53 +0000 (17:41 +0100)]
Use 'case' sh construct to shorten short commands' recognition
Mikhail Gusarov [Sat, 28 Dec 2013 16:37:44 +0000 (17:37 +0100)]
Use "assign default values" sh feature to simplify defaults handling
Richard Hartmann [Sun, 29 Dec 2013 00:04:49 +0000 (01:04 +0100)]
vcsh: More resilient variable handling for
6b22746e94bf469dd462907fd43d13a454e56ede
Mikhail Gusarov [Sat, 28 Dec 2013 16:31:42 +0000 (17:31 +0100)]
Use sh 'default value' expansion more idiomatic construct
Richard Hartmann [Sat, 28 Dec 2013 15:21:32 +0000 (16:21 +0100)]
README.md: Update Debian install directions
Richard Hartmann [Sat, 28 Dec 2013 15:20:13 +0000 (07:20 -0800)]
Merge pull request #101 from dastergon/add_gentoo_doc
Add Gentoo installation in README
Richard Hartmann [Sat, 28 Dec 2013 14:21:20 +0000 (15:21 +0100)]
vcsh: Improve error message
Richard Hartmann [Sat, 28 Dec 2013 14:17:36 +0000 (15:17 +0100)]
vcsh: Fix mktemp bug
2650689d28f662e147d0be4c3ee248f873dbcc3c introduced a bug:
If we are using a template, GNU mktemp will use PWD instead of $TMPDIR
Richard Hartmann [Thu, 26 Dec 2013 20:23:11 +0000 (21:23 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Pavlos Ratis [Tue, 24 Dec 2013 22:33:18 +0000 (00:33 +0200)]
add Gentoo installation in README
Richard Hartmann [Fri, 20 Dec 2013 22:34:54 +0000 (14:34 -0800)]
Merge pull request #98 from dottedmag/fix--echo-n-os-x
Use printf, not echo -n to print messages without newline
Mikhail Gusarov [Wed, 18 Dec 2013 21:23:22 +0000 (22:23 +0100)]
Use printf, not echo -n to print messages without newline
OS X echo does not understand -n and prints it literally
Richard Hartmann [Wed, 18 Dec 2013 13:59:51 +0000 (14:59 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Tue, 17 Dec 2013 01:48:17 +0000 (17:48 -0800)]
Merge pull request #97 from Zearin/tables
README.md: Use GFM tables for Usage
Tony [Mon, 16 Dec 2013 19:27:56 +0000 (14:27 -0500)]
Use GFM table syntax for usage examples
Table syntax in GFM? Oh, yes:
<https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#tables>
Richard Hartmann [Sat, 14 Dec 2013 10:12:17 +0000 (11:12 +0100)]
vcsh: Formatting
Richard Hartmann [Fri, 13 Dec 2013 23:25:36 +0000 (00:25 +0100)]
vcsh: Bump version to 1.
20131214 .git-HEAD
Richard Hartmann [Fri, 13 Dec 2013 23:01:30 +0000 (00:01 +0100)]
Richard Hartmann [Mon, 9 Dec 2013 09:18:34 +0000 (10:18 +0100)]
Revert "Implement basename in shell"
This reverts commit
794f0aac869dda034300211e9be45db123d84377 .
Conflicts:
vcsh
Turns out the shell implementation didn't account for trailing
slashes. While, arguably, a proper interactive shell should eat
them before execution anyway, this can also be called in script
context.
This means that
vcsh clone foo/
made it fail and even after commit
7e33e38a869989d04d12f2ef160d514041eb01e3
vcsh clone foo//
would have failed.
Revert to safe and time-proven default: Standalone `basename`.
For further information, see:
https://github.com/RichiH/vcsh/pull/92
Richard Hartmann [Mon, 9 Dec 2013 09:17:57 +0000 (10:17 +0100)]
Merge remote-tracking branch 'archwyrm/clone-trailing-slash-fix'
Markus Martin [Sun, 1 Dec 2013 21:42:33 +0000 (16:42 -0500)]
Fix missing blank repository name when cloning
If the repository path given to 'vcsh clone' contains a trailing slash,
the resulting cloned directory will be '.git' and vcsh will not
recognize the cloned repository by name. This change ensures that a
trailing slash will be stripped and the repository name will be
populated.
The previous faulty behavior is due to the custom implementation of the
basename command first introduced in
794f0aac .
Rob Cornish [Mon, 25 Nov 2013 04:55:34 +0000 (15:55 +1100)]
Fixed variable assignment bug in rename()
Richard Hartmann [Sun, 27 Oct 2013 17:55:29 +0000 (18:55 +0100)]
Makefile: Make `make test` silent
Richard Hartmann [Sun, 27 Oct 2013 17:54:53 +0000 (18:54 +0100)]
Makefile: Avoid calling `dirname`
Caleb Maclennan [Sun, 20 Oct 2013 01:58:22 +0000 (19:58 -0600)]
Removed newline escape sequence that was not properly being obeyed anyway, was printing to the console as is. Not needed because the echo being used already terminates with a newline.
Richard Hartmann [Sun, 27 Oct 2013 11:45:54 +0000 (12:45 +0100)]
CONTRIBUTORS: Add Caleb Maclennan
Caleb Maclennan [Sun, 20 Oct 2013 01:28:18 +0000 (19:28 -0600)]
Removed unnecessary syntax
Richard Hartmann [Sun, 27 Oct 2013 11:34:20 +0000 (12:34 +0100)]
tools/list_CONTRIBUTORS, CONTRIBUTORS: Better wording
Richard Hartmann [Sun, 27 Oct 2013 11:30:09 +0000 (12:30 +0100)]
CONTRIBUTORS: Update
Richard Hartmann [Sun, 27 Oct 2013 11:17:11 +0000 (12:17 +0100)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Sun, 27 Oct 2013 11:16:27 +0000 (12:16 +0100)]
Richard Hartmann [Sun, 27 Oct 2013 11:09:51 +0000 (04:09 -0700)]
Merge pull request #86 from xaocon/master
updated docs to leave out run so it will be consistent
Richard Hartmann [Sun, 27 Oct 2013 11:04:55 +0000 (04:04 -0700)]
Merge pull request #90 from Dridi/feature--makefile_dirs
Make Makefile more configurable (doc and zsh dirs)
Dridi Boukelmoune [Tue, 22 Oct 2013 17:15:26 +0000 (19:15 +0200)]
Make Makefile more configurable (doc and zsh dirs)
Some distributions expect the documentation in /usr/share/doc/name, and
others in /usr/share/doc/name-version. The zsh directory for completion
is also configurable due to differences between distributions.
Gregor Jasny [Thu, 17 Oct 2013 19:25:09 +0000 (21:25 +0200)]
Make root tool configurable
On Macports one need to run ronn-1.9 instead of ronn. Therefore
make ronn tool configurable. one can now run
make RONN=ronn-1.9
to execute ronn-1.9 instead of the default ronn.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Evan Pitstick [Mon, 30 Sep 2013 19:28:13 +0000 (15:28 -0400)]
updated docs to leave out run so it will be consistent
Richard Hartmann [Fri, 20 Sep 2013 15:32:08 +0000 (17:32 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Fri, 20 Sep 2013 15:31:15 +0000 (17:31 +0200)]
vcsh: Add ".git-HEAD" to version number
This should make reporting bugs easier/more reliable.
Richard Hartmann [Thu, 19 Sep 2013 21:45:51 +0000 (23:45 +0200)]
vcsh: Add git version information on all debug runs
Richard Hartmann [Thu, 19 Sep 2013 21:41:27 +0000 (23:41 +0200)]
Merge branch 'feature--shortnames'
Conflicts:
vcsh
Richard Hartmann [Thu, 19 Sep 2013 21:37:33 +0000 (23:37 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Thu, 19 Sep 2013 21:36:58 +0000 (23:36 +0200)]
vcsh: Make `vcsh version` print vcsh and git version information
Richard Hartmann [Tue, 10 Sep 2013 14:14:35 +0000 (16:14 +0200)]
Merge branch 'fix--mktemp_on_OSX'
Richard Hartmann [Tue, 10 Sep 2013 14:12:02 +0000 (16:12 +0200)]
vcsh: Add comments
Richard Hartmann [Mon, 9 Sep 2013 23:34:42 +0000 (01:34 +0200)]
vcsh: Support *BSD/OSX mktemp
mktemp on *BSD/OSX expects a template whereas GNU mktemp does not.
Pass a template to mktemp to make *BSD/OSX happy.
github: fixes richih/vcsh#83
Richard Hartmann [Mon, 9 Sep 2013 07:16:54 +0000 (09:16 +0200)]
Richard Hartmann [Mon, 2 Sep 2013 22:57:24 +0000 (00:57 +0200)]
vcsh: Move up gitignore check
Richard Hartmann [Mon, 2 Sep 2013 22:54:23 +0000 (00:54 +0200)]
Merge branch 'merge--madduck/relative_worktree'
Github: Fixes richih/vcsh#26
Richard Hartmann [Mon, 2 Sep 2013 22:51:14 +0000 (00:51 +0200)]
vcsh: Add support for choosing relative or absolute core.worktree
Richard Hartmann [Mon, 2 Sep 2013 21:16:03 +0000 (23:16 +0200)]
Merge remote-tracking branch 'madduck/relative_worktrees' into merge--madduck/relative_worktree
Richard Hartmann [Thu, 29 Aug 2013 20:40:10 +0000 (22:40 +0200)]
Richard Hartmann [Thu, 29 Aug 2013 18:20:00 +0000 (20:20 +0200)]
vcsh: Implement shortnames for commands
vcsh st
will now expand to
vcsh status
Richard Hartmann [Thu, 29 Aug 2013 06:34:13 +0000 (08:34 +0200)]
vcsh: Support `vcsh status <repo>`
Richard Hartmann [Thu, 29 Aug 2013 06:29:52 +0000 (08:29 +0200)]
vcsh: Make init() less verbose
Richard Hartmann [Tue, 27 Aug 2013 06:49:20 +0000 (08:49 +0200)]
README.md: Cleanup
Richard Hartmann [Tue, 20 Aug 2013 20:43:01 +0000 (22:43 +0200)]
vcsh: Implement pre-/post-init hooks
Richard Hartmann [Mon, 19 Aug 2013 12:59:45 +0000 (05:59 -0700)]
Merge pull request #80 from ebouchut/typo
Fix typos in the README file.
Eric Bouchut [Mon, 19 Aug 2013 11:00:15 +0000 (13:00 +0200)]
Fix typos in README
Richard Hartmann [Wed, 14 Aug 2013 07:20:27 +0000 (09:20 +0200)]
README.md: More use cases
Richard Hartmann [Wed, 14 Aug 2013 07:15:01 +0000 (09:15 +0200)]
README.md: Make intro less scary
Richard Hartmann [Wed, 14 Aug 2013 06:59:27 +0000 (08:59 +0200)]
README.md: Move usage examples up
Richard Hartmann [Wed, 14 Aug 2013 06:47:27 +0000 (08:47 +0200)]
README.md: Move mr farther down
Richard Hartmann [Mon, 5 Aug 2013 15:01:16 +0000 (17:01 +0200)]
vcsh: Print debug and verbose info
Richard Hartmann [Fri, 2 Aug 2013 15:17:25 +0000 (17:17 +0200)]
%s/richih.mailinglist@gmail.com/richih@debian.org/
Richard Hartmann [Wed, 31 Jul 2013 22:19:02 +0000 (00:19 +0200)]
Merge branch 'feature--vcsh-commit'
Conflicts:
doc/vcsh.1.ronn
vcsh
Richard Hartmann [Wed, 31 Jul 2013 22:16:17 +0000 (00:16 +0200)]
Introduce `vcsh commit`
Richard Hartmann [Wed, 24 Jul 2013 20:15:09 +0000 (22:15 +0200)]
Richard Hartmann [Tue, 23 Jul 2013 23:29:04 +0000 (01:29 +0200)]
Merge branch 'feature--vcsh-status'
Richard Hartmann [Tue, 23 Jul 2013 23:26:20 +0000 (01:26 +0200)]
Introduce `vcsh status`
Richard Hartmann [Tue, 23 Jul 2013 23:15:10 +0000 (01:15 +0200)]
vcsh: Output formatting
Richard Hartmann [Tue, 23 Jul 2013 23:14:45 +0000 (01:14 +0200)]
doc/vcsh.1.ronn: Alphabetize options
Richard Hartmann [Tue, 23 Jul 2013 19:30:59 +0000 (21:30 +0200)]
Richard Hartmann [Tue, 23 Jul 2013 19:17:41 +0000 (21:17 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Tue, 23 Jul 2013 19:16:58 +0000 (21:16 +0200)]
doc/hooks: Ask for sample hooks
Richard Hartmann [Sun, 21 Jul 2013 11:25:42 +0000 (13:25 +0200)]
vcsh: Make gitignore options alphabetical
Richard Hartmann [Sat, 20 Jul 2013 20:07:04 +0000 (22:07 +0200)]
vcsh: s/git/Git/
martin f. krafft [Fri, 19 Jul 2013 17:21:14 +0000 (19:21 +0200)]
Get rid of GIT_WORK_TREE during vcsh sessions
This patch gets rid of GIT_WORK_TREE completely, which makes the whole thing a
bit more transparent, I find. Git uses core.worktree anyway, so the
environment variable isn't needed.
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Sat, 27 Apr 2013 06:17:30 +0000 (08:17 +0200)]
Keep worktree relative to GIT_DIR
core.worktree can be set relatively to GIT_DIR, thereby preventing the
hard-coding of the home directory path, which should make a vcsh setup
more portable.
On the other hand, this means that the vcsh repo.d is now invariably
linked to its position, relative to the base directory. Apply this patch
only if you think it to be less likely that people change
~/.config/vcsh/repo.d to something else, than they would rsync/tar/mv
a whole tree to a different $HOME.
Paths are resolved using Git itself, for maximum portability.
In addition to making sure the new method works on new repositories,
I checked that
- "old" repositories can be used with the new code just fine;
- upgrading works.
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 19 Jul 2013 14:03:09 +0000 (16:03 +0200)]
Remove unnecessary line
Signed-off-by: martin f. krafft <madduck@madduck.net>
martin f. krafft [Fri, 19 Jul 2013 14:02:53 +0000 (16:02 +0200)]
POSIX syntax requires ; before }
Signed-off-by: martin f. krafft <madduck@madduck.net>
Richard Hartmann [Fri, 19 Jul 2013 06:24:44 +0000 (08:24 +0200)]
Merge remote-tracking branch 'origin/fix--vcsh-rename'
Richard Hartmann [Fri, 19 Jul 2013 06:16:45 +0000 (08:16 +0200)]
Merge branch 'retire'
Conflicts:
doc/hooks
Richard Hartmann [Thu, 18 Jul 2013 23:31:16 +0000 (01:31 +0200)]
doc/vcsh.1.ronn: Reference new hooks
Richard Hartmann [Thu, 18 Jul 2013 22:48:01 +0000 (00:48 +0200)]
doc/hooks: Fix hook list
a-sk [Thu, 18 Jul 2013 21:33:35 +0000 (01:33 +0400)]
Explain when to use post-clone-retired
a-sk [Thu, 18 Jul 2013 21:22:32 +0000 (01:22 +0400)]
Fix post-clone hook name
Richard Hartmann [Mon, 15 Jul 2013 16:36:11 +0000 (18:36 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Mon, 15 Jul 2013 16:35:48 +0000 (18:35 +0200)]
.mailmap: Add mapping for Alexander Skurikhin
Richard Hartmann [Sat, 13 Jul 2013 22:42:52 +0000 (00:42 +0200)]
CONTRIBUTORS: Add Alessandro Ghedini
Richard Hartmann [Sat, 13 Jul 2013 22:42:10 +0000 (00:42 +0200)]
.mailmap: Add mapping for Alexander Skurikhin
Richard Hartmann [Sat, 13 Jul 2013 21:28:11 +0000 (23:28 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Sat, 13 Jul 2013 21:27:50 +0000 (23:27 +0200)]
Merge branch 'gitignore-none'
Richard Hartmann [Sat, 13 Jul 2013 18:25:52 +0000 (20:25 +0200)]
Fix commit
96f74d26de89fa1e390e26d015208163f689629e
Quote $1; change
check_directory=$1
to
check_directory="$1"
Alessandro Ghedini [Wed, 10 Jul 2013 13:01:36 +0000 (15:01 +0200)]
vcsh: do not create .gitignore.d if VCSH_GITIGNORE == none
Richard Hartmann [Wed, 10 Jul 2013 13:09:36 +0000 (15:09 +0200)]
Merge branch 'master' of github.com:RichiH/vcsh
Richard Hartmann [Wed, 10 Jul 2013 13:09:14 +0000 (15:09 +0200)]
CONTRIBUTORS: Add Alexander Skurikhin
Richard Hartmann [Wed, 10 Jul 2013 11:04:06 +0000 (13:04 +0200)]
vcsh: Fix stupid syntax error
Thanks to Alessandro Ghedini.
Richard Hartmann [Wed, 10 Jul 2013 10:53:04 +0000 (12:53 +0200)]
vcsh: Fix `vcsh rename`
Based on report and work by Alexander Skurikhin.
GitHub: fixes 54