-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Ralf Wildenhues on 8/21/2008 11:14 AM: > >> One of the suggestions was adding this to your .git/config: > > Yeah. If I have to remember to use 'alias' for one repo but not > another, then I may just as well remember to check for clean tree > beforehand. Nothing won.
But since you have two different repositories, one can be: git config alias.send push while the other is the more complex git config alias.send '!hook && git send "$@"' Then you just always use 'git send', and the current repository controls what actions it takes. > They should just add pre-push. I mean, there is definite value, > just not a current git developer who needs it himself. ;-) Yes, it sounds nice; unfortunately I'm not a git developer, so I don't know how long it will be before a git release includes something like it. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkitvJcACgkQ84KuGfSFAYA41wCgrBhrNius57ujOJ7qq/EYXrdC aq4AoNLUli9kVjhpiiFCJfN4hZIqfN1H =khEu -----END PGP SIGNATURE-----
