From: Andreas Ericsson Date: Mon, 27 Feb 2006 17:09:21 GMT Subject: Re: Quick question: how to generate a patch? Message-ID: <44033241.6070001@op5.se> In-Reply-To: <6d6a94c50602270902k2c06aaffw7e70268b0753ef64@mail.gmail.com> Aubrey wrote: >>It really should "just have worked". Can you show what the diff actually >>looked like, and your exact command history? > > > >>If it was something like >> >> git clone remote-repo localdir >> cd localdir >> vi somefile >> git diff >> > > Yes, exactly right. > Did you by any chance do chmod -R, chown -R or start an ntp daemon somewhere in between there (don't know if clock skews will be detected by git, but...)? > >>then you did everything right, and if it gives any diff other than your >>changes to "somefile", something is buggy. Need more info. >> >>Does "git diff" and "git diff HEAD" give different results, btw? > > > Yes. the two commands give the same results. > Decidedly odd. What happens when you do "git update-index --refresh" and then re-run the "git diff > my.patch" thing? -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231