Re: how to make a patch

2005-09-13 Thread Tollef Fog Heen
* Andreas Schuldei 

| 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.

diff $from $to, just like cp.

-- 
Tollef Fog Heen,''`.
UNIX is user friendly, it's just picky about who its friends are  : :' :
  `. `' 
`-  



Re: how to make a patch

2005-09-07 Thread Emilio Jesús Gallego Arias
Paolo Pantaleo <[EMAIL PROTECTED]> writes:

> I have spent some time to write the bash completion for apt-file command.
> I have written a pair of email to [EMAIL PROTECTED] and i didn't get any
> response. Now i want to submit a patch for bash_completion file that
> add the apt-file support.

[EMAIL PROTECTED]:~$ apt-file [Double TAB]
listpurge   search  showupdate

It seems for me that apt-file completion is working perfectly.

Regards,

Emilio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to make a patch

2005-09-07 Thread Andreas Schuldei
* Andreas Barth <[EMAIL PROTECTED]> [2005-09-07 13:57:47]:

> * Paolo Pantaleo ([EMAIL PROTECTED]) [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 [EMAIL PROTECTED] 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.


signature.asc
Description: Digital signature


Re: how to make a patch

2005-09-07 Thread Peter Samuelson

[Paolo Pantaleo]
> I have spent some time to write the bash completion for apt-file
> command.  I have written a pair of email to [EMAIL PROTECTED] and i
> didn't get any response. Now i want to submit a patch for
> bash_completion file that add the apt-file support.

File a bug against the apt-file package, severity "minor" or "wishlist"
(could be either one, since a /etc/bash_completion.d/apt-file already
exists and I don't know if your version fixes bugs or just adds
features), and attach your patch to the report.  You can use the
'reportbug' command for this.

> How do i make a patch? Is
> diff -u -c
> correct?

Just 'diff -u'.


signature.asc
Description: Digital signature


Re: how to make a patch

2005-09-07 Thread Andreas Barth
* Paolo Pantaleo ([EMAIL PROTECTED]) [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 [EMAIL PROTECTED] 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.


Cheers,
Andi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]