From: Aubrey Date: Mon, 27 Feb 2006 17:18:03 GMT Subject: Re: Quick question: how to generate a patch? Message-ID: <6d6a94c50602270918l323fe54al764469232de66503@mail.gmail.com> In-Reply-To: <44033241.6070001@op5.se> > 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...)? No, I did nothing between "git clone" and "git diff" except changing one file. > > > Decidedly odd. What happens when you do "git update-index --refresh" and > then re-run the "git diff > my.patch" thing? > Yes, "git update-index --refresh" works. After this command, I got what I want. It's the diff in unified git format. Regards, -Aubrey