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@gnu:~/src/nslu2-utils>mr gc
mr gc: no defined action for svn repository /home/joey/src/nslu2-utils, skipping

see shy jo

Attachment: signature.asc
Description: Digital signature

vcs-home mailing list

Reply via email to