git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Apply patch on server w/o git
@ 2008-03-25 18:25 Joe Fiorini
  2008-03-25 18:41 ` Bryan Donlan
  2008-03-25 19:57 ` Robin Rosenberg
  0 siblings, 2 replies; 7+ messages in thread
From: Joe Fiorini @ 2008-03-25 18:25 UTC (permalink / raw)
  To: git

I am trying to generate a diff patch on my local dev box.  I want to  
upload this patch to a server (running Windows Server 2008) and apply  
it to my staging code.  The catch is: I cannot install git on the  
server to accept the patch.  Therefore, I would like to use a generic  
patching tool (such as patch from the GnuWin32 tools).  I tried  
generating a unified diff with the following command:

git diff -U > diff.patch

and then tried to apply it using:

patch -u -i ..\other_dir\diff.patch

and I got the error:

"patch unexpectedly ends in middle of line" ... "Only garbage was  
found in the patch input"

It might be a problem with how I'm using patch, and if so, forgive  
me.  If not, then how can I generate a generic diff format from git so  
I can do what I want?

Thanks all!
Joe Fiorini

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-03-29 18:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-25 18:25 Apply patch on server w/o git Joe Fiorini
2008-03-25 18:41 ` Bryan Donlan
2008-03-25 19:23   ` Joe Fiorini
2008-03-25 19:46   ` Jan Hudec
2008-03-25 19:57 ` Robin Rosenberg
2008-03-26  3:03   ` Joe Fiorini
2008-03-29 18:46     ` Jan Hudec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).