Re: Attaching patches from bastion



2015-02-11 18:16 GMT+01:00 Joey STANFORD <joey canonical com>:

1) git commit -a pulled in a bunch of filemode changes so to get around
this I issued a git reset in my local directory on bastion.

I'm wondering why this happens too as even a 'cp -r --preserve=all
/srv/git/puppet.git .' takes in the mode change on all the resources
of file type. You can however run the following to avoid mode changes
(Git tracks the executable bit only, so Git's 100664 is -x while
100775 is +x) to be tracked by git at all:

git config core.filemode false

If you then need a file to be executable or you want to -x it, run:

git update-index --chmod=(+|-)x modules/foo/files/myscript.py

2) I tried the documented method of git-bz to attach the patch my bug
report and it failed with http://pastebin.ubuntu.com/10175672/

git-bz is definitely a tool you can use to upload patches on
bugzilla.gnome.org. You should consider giving [1] a look on this
side. Let me know if that made the trick.

[1] https://mail.gnome.org/archives/desktop-devel-list/2015-February/msg00068.html

-- 
Cheers,

Andrea

Debian Developer,
Fedora / EPEL packager,
GNOME Infrastructure Team Coordinator,
GNOME Foundation Board of Directors Secretary,
GNOME Foundation Membership & Elections Committee Chairman

Homepage: http://www.gnome.org/~av


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