omitting repo headers with 'mr run'

Joey Hess joey at kitenet.net
Sun Feb 19 17:47:57 CET 2012


Adam Spiers wrote:
> Right - not just commit; it's the same problem with any action.  But
> you could add support for some kind of test e.g.
> 
>     git_wip_is_interactive    = false
>     git_commit_is_interactive =
>         for arg in "$*"; do
>             [[ "$arg" == -m* ]] && exit 0
>         done
>         exit 1

Needing to build this kind of knowledge about each vcs into mr seems
like a) a layering violation and b) an impediment to easily adding new
vcs etc to mr.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20120219/b34d983f/attachment.pgp>


More information about the vcs-home mailing list