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

Re: [libvirt] [PATCH] build: Use $(PYTHON) instead of python for the keycode map generator



On 07/22/2011 08:17 AM, Daniel Veillard wrote:
chmod +x src/util/virkeycode-mapgen.py

to match our style of .py files being executable (even if we run
them via $(PYTHON)).

   just wondering loud, if you change a file attribute like this will
git automatically detect it and all to "commit" the change or is there
some magic involved (yes I'm think thinking too much in terms of CVS !)

Forget all the pain you ever had with CVS execute permissions :) Git makes it trivial - the x bit is tracked alongside every file, and you can even do a 0-line diff that changes only the file mode (remember, in git, every directory tree is an object, and directories record state information - so when you change +x bit, what you are really doing is recording a new tree object).

--
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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