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

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

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.

 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 804eda4..51d83a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@

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