Re: [PATCH 1/3] Add contrib/credentials/netrc with GPG support
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:03
Ted Zlatanov [off-list ref] writes:
Sorry, I didn't realize contrib/ stuff was under the same rules.
I had a feeling that this may start out from contrib/ but will soon prove to be fairly important to be part of the Git proper.
It would help if the requirements were codified as the fairly standard Emacs file-local variables, so I can just put them in the Perl code or in .dir-locals.el in the source tree. At least for Perl I'd like that, and it could be nice for the Emacs users who write C too. Would you like me to propose that as a patch?
I thought that we tend to avoid Emacs/Vim formatting cruft left in the file. Do we have any in existing file outside contrib/?
Either way, I guessed that these settings are what you want as far as tabs and indentation (I use cperl-mode but perl-mode is the same): # -*- mode: cperl; tab-width: 8; cperl-indent-level: 4; indent-tabs-mode: t; -*-
Indent is done with a Tab and indent level is 8 places (check add--interactive.perl and imitate it, perhaps?). Thanks.