Running mr commands on one type of repo, only?
joey at kitenet.net
Sat Apr 30 19:04:28 CEST 2011
Richard Hartmann wrote:
> I would like to use mr to run `git gc` on all my git repos. While I
> could add a gc, or repack, option to my configs, I am wondering if
> there is a way for mr to only act on a certain type of repo.
> The manpage seems to imply there no way to do this, but I figured
> asking wouldn't hurt :)
git_gc = git gc "$@"
Now when you run "mr gc" in a svn repo, it will complain, but skip it.
joey at gnu:~/src/nslu2-utils>mr gc
mr gc: no defined action for svn repository /home/joey/src/nslu2-utils, skipping
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 828 bytes
Desc: Digital signature
More information about the vcs-home