Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Creare patch [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Fri May 13, 2005 11:39 pm    Post subject: Creare patch [Risolto] Reply with quote

Salve gente, ho appena finito di modificare un tool ed ho aggiunto una nuova feature, ora per creare il file di patch dal nuovo file di sorgente come faccio?stavo leggendo il man diff, ma on ho ancora capito come fare..
Crazie :)


Last edited by oRDeX on Sun May 15, 2005 9:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31444
Location: here

PostPosted: Fri May 13, 2005 11:47 pm    Post subject: Reply with quote

Code:
$ diff -u filevecchio filenuovo

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat May 14, 2005 12:45 pm    Post subject: Re: Creare patch Reply with quote

io uso
Code:
diff -aNur [old directory] [new directory] > patchfile
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31444
Location: here

PostPosted: Sat May 14, 2005 2:01 pm    Post subject: Re: Creare patch Reply with quote

k.gothmog wrote:
io uso

Si chiaramente se bisogna farlo su piu' file il tuo metodo e' certamente meglio :D
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Sat May 14, 2005 2:24 pm    Post subject: Reply with quote

grazie a entrambi, io dovevo creare patch per più file però non sapendo ancora il secondo metodo ne ho create tante quanto sono i file eheh..
Vabbè, la prox volta lo faccio come ha detto k.gothmog
Tnx
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat May 14, 2005 8:56 pm    Post subject: Reply with quote

Per favore metti il tag [Risolto] al titolo del thread.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31444
Location: here

PostPosted: Sat May 14, 2005 10:50 pm    Post subject: Reply with quote

oRDeX wrote:
Vabbè, la prox volta lo faccio come ha detto k.gothmog

Ti conviene rifare, il metodo di k.gothmog ti crea un file solo contenete tutte le patch
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Sun May 15, 2005 9:53 pm    Post subject: Reply with quote

OK!
tnx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum