View previous topic :: View next topic |
Author |
Message |
oRDeX Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1093511417417ec3ee2e62c.jpg)
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 ![Smile :)](images/smiles/icon_smile.gif)
Last edited by oRDeX on Sun May 15, 2005 9:53 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31461 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 |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31461 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 ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
oRDeX Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1093511417417ec3ee2e62c.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31461 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 |
|
![](templates/gentoo/images/spacer.gif) |
oRDeX Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1093511417417ec3ee2e62c.jpg)
Joined: 19 Oct 2003 Posts: 1325 Location: Italy
|
Posted: Sun May 15, 2005 9:53 pm Post subject: |
|
|
OK!
tnx |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|