I maintain both the upstream and Debian version of a program in a git repo, using "upstream" and "master" branches, git-buildpackage, etc.
Occasionally I forget which branch I'm on and commit upstream changes to the master branch by mistake. Is there a way to tell git that when I'm on the master branch, I should only be allowed to commit files in the debian/ subdirectory? -- Eric Cooper e c c @ c m u . e d u -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100623221641.ge15...@localhost