On Wed, May 21, 2014 at 5:26 PM, Martin Steghöfer <mar...@steghoefer.eu> wrote:
> I tried it once, following the instructions on
> https://wiki.debian.org/PackagingWithGit, but decided against using it. It
> didn't simplify my work, but instead cluttered up my repository with the
> upstream source files. I don't get the point of having upstream files in the
> repository, if you're not allowed to touch them directly (only via patches).


But you can generate the patch using git:

% git checkout -b my-branch
% vim src/file1.c
% git commit -a -m "Very important patch"
% git checkout master
% git format-patch my-branch
% mv 0000-* debian/patches/my-patch.patch
% echo  my-patch.patch > debian/patches/series

The patch-queue tool in git-buildpackage can be useful too (gbp-pq).

-- 

Saludos,
Felipe Sateler

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to