[libvirt] [PATCH] maint: ignore unsaved emacs files

Eric Blake eblake at redhat.com
Thu Oct 25 22:44:02 UTC 2012


On 10/25/2012 04:38 PM, Laine Stump wrote:
> On 10/25/2012 06:15 PM, Eric Blake wrote:
>> I did a 'git add .', then realized that it ended up trying to
>> add the emacs lock file for a corresponding file that I had not
>> yet saved all my edits; thankfully I noticed it in time.  Since
>> we already exclude other temporary files, this makes the most
>> sense for preventing such a mistake from actually hitting upstream.
>>
>> * .gitignore: Add .#* to the exclude list.
>> ---
>>
>> If you don't like this patch, then I will be updating my local
>> .git/info/exclude file; I could understand someone wanting to
>> reject this patch on the grounds that 'make' does not create
>> any temporary files under this name, but only my choice of
>> editor (and not everyone shares that choice in editor).  So
>> I'll wait for an ack instead of claiming the trivial rule.
>>

> 
> Well, don't we also ignore *~? That's created by an editor too.

Yep.

> 
> ACK.

Pushed, before anyone else has a chance to argue against us :)

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121025/affedc81/attachment-0001.sig>


More information about the libvir-list mailing list