using gitconfig to get shell access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

If I have a bare repo that is accessed only remotely, but I
allow arbitrary 'git config' keys to be set on it by the
remote user (somehow), can any of them be used to make git
run arbitrary commands on the server?

For example, 'hooks.showrev', is a "shell command used to
format each revision in the email".

Of course that's only in contrib, but are there any like
that in the main git config settings?  I took a look through
man git-config and offhand I couldn't find any, but if
someone knows more definitively I'd appreciate hearing about
it.

Thanks,

Sitaram

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]