[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs not creating backup ~ files to file under git control. Why not
From: |
Alex Kost |
Subject: |
Re: emacs not creating backup ~ files to file under git control. Why not? |
Date: |
Sun, 05 Jul 2015 09:34:55 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
emacs+git-user (2015-07-05 07:17 +0300) wrote:
> I was working on a file and it created backups as usual. However I
> noticed that when i decided to put it under git countrol and created a
> git directory, then emacs stops to create a backup file~ ever since
> then.
>
> So to test, i created a new directory and edited a file in it and it creates
> a backup in the directory.
>
> Then I deleted the file~ then I did
>
> git int
> in the directory and then did
> git add file
> then i edited the file and now it does not create then file~.
> Why not and what code controls this to shut it off?
Look at `vc-make-backup-files' variable.
--
Alex