[PATCH 1/2] teach mklog to get name / email from git config when available
Trevor Saunders
tsaunders@mozilla.com
Tue Apr 29 10:15:00 GMT 2014
On Tue, Apr 29, 2014 at 09:08:50AM +0400, Yury Gribov wrote:
> Hi Trevor,
>
> I think this looks rather useful.
sounds great!
> > +if (-d .git) {
>
> What about moving default name/addr (with finger, etc.) to else branch?
Well, consider the case git doesn't know, that said I could do
if (-d .git) {
// check git
}
if (!name) {
// finger to get name
}
if (!email) {
// finger stuff to get email
}
or something like that.
Trev
>
> > + chomp($gitname);
> > + chomp($gitaddr);
>
> Missing whites before (.
>
> -Y
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140429/30b7b9b8/attachment.sig>
More information about the Gcc-patches
mailing list