View previous topic :: View next topic |
Author |
Message |
oRDeX Veteran
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Fri May 13, 2005 11:39 pm Post subject: Creare patch [Risolto] |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31446 Location: here
|
Posted: Fri May 13, 2005 11:47 pm Post subject: |
|
|
Code: | $ diff -u filevecchio filenuovo |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sat May 14, 2005 12:45 pm Post subject: Re: Creare patch |
|
|
io uso
Code: | diff -aNur [old directory] [new directory] > patchfile |
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31446 Location: here
|
Posted: Sat May 14, 2005 2:01 pm Post subject: Re: Creare patch |
|
|
Si chiaramente se bisogna farlo su piu' file il tuo metodo e' certamente meglio _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
oRDeX Veteran
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Sat May 14, 2005 2:24 pm Post subject: |
|
|
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 |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat May 14, 2005 8:56 pm Post subject: |
|
|
Per favore metti il tag [Risolto] al titolo del thread. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31446 Location: here
|
Posted: Sat May 14, 2005 10:50 pm Post subject: |
|
|
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 |
|
|
oRDeX Veteran
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Sun May 15, 2005 9:53 pm Post subject: |
|
|
OK!
tnx |
|
Back to top |
|
|
|