Re: rm and add, but not rename, of identical files

2012-10-11 Thread Drew Northup
On Wed, 2012-10-10 at 14:47 -0700, Junio C Hamano wrote: Drew Northup drew.nort...@maine.edu writes: # Untracked files: # (use git add file... to include in what will be committed) # # rc.d/rc2.d/S08iptables # rc.d/rc3.d/S08iptables # rc.d/rc4.d/S08iptables ...

Re: rm and add, but not rename, of identical files

2012-10-11 Thread Junio C Hamano
Drew Northup drew.nort...@maine.edu writes: On Wed, 2012-10-10 at 14:47 -0700, Junio C Hamano wrote: Drew Northup drew.nort...@maine.edu writes: # Untracked files: # (use git add file... to include in what will be committed) # # rc.d/rc2.d/S08iptables #

rm and add, but not rename, of identical files

2012-10-10 Thread Drew Northup
I use etckeeper on some of my systems, backed by Git. On a system still using a SYSV style init I recently modified my iptables settings, changing which runlevels would stop/start the firewall. [root@drew-northup ~]# etckeeper vcs status # On branch master # Changes not staged for commit: #

Re: rm and add, but not rename, of identical files

2012-10-10 Thread Andreas Schwab
Drew Northup drew.nort...@maine.edu writes: It detects the changes as renames however—which in this case isn't appropriate: Why is that a problem? A rename is just something which is computed on the fly for display purpose, the repository only stores a snapshot of the resulting tree.

Re: rm and add, but not rename, of identical files

2012-10-10 Thread Junio C Hamano
Drew Northup drew.nort...@maine.edu writes: # Untracked files: # (use git add file... to include in what will be committed) # # rc.d/rc2.d/S08iptables # rc.d/rc3.d/S08iptables # rc.d/rc4.d/S08iptables ... no changes added to commit (use git add and/or git commit -a)