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

Re: how to make a patch

* Andreas Barth <aba@not.so.argh.org> [2005-09-07 13:57:47]:

> * Paolo Pantaleo (paolopantaleo@gmail.com) [050907 13:55]:
> > I have spent some time to write the bash completion for apt-file command.
> > I have written a pair of email to doko@debian.org and i didn't get any
> > response. Now i want to submit a patch for bash_completion file that
> > add the apt-file support.
> > 
> > How do i make a patch? Is
> > diff -u -c
> > correct?
> I usually use
> diff -Nur
> if I have a full directory tree, but using diff -u will work equally
> well for two different files.

and because i never can remember if the first or the second file
is the one the resulting patch should apply to, i also use
"--from­file=" pointing to the original.

Attachment: signature.asc
Description: Digital signature

Reply to: