:: Re: [DNG] Apply Rainer's patch to n…
Forside
Slet denne besked
Besvar denne besked
Skribent: aitor_czr
Dato:  
Til: Edward Bartolo, dng
Emne: Re: [DNG] Apply Rainer's patch to netman.
Hi Edward,


On 12/19/2015 05:52 PM, Edward Bartolo <edbarx@???> wrote:
> Hi,
> >
> >I created a .patch file by copying and pasting the patch supplied by
> >Rainer, read above. I have the fully restored and up to date netman
> >sources, but I am not sure whether as typed below "git patch" should
> >actually apply the patch properly.
> >
> >The command:
> >edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$ git patch
> >../rainer_dng-15.12.2015.patch


The right command is this other one:

$ git apply --stat ../rainer_dng-15.12.2015.patch

> >I also read that the patch can be saved/archived into git, and I think
> >it is the proper way it should be done.


Yes, you can use quilt for that. I'm busy now and i didn't test the
patch. Maybe tomorrow :((

> >Can I safely run the command as shown and if possible tell git to
> >archive/save the patch?
> >
> >Edward


Aitor.