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

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

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]