> > The file my.patch is generated. But the unchanged files information is > > also included in the patch file. It should be quiet. > > It sounds like your index is not synchronized with your file contents. > Have you done "touch" on files? Or edited them, and then edited them back? > > If so, "git-update-index --refresh" will re-synchronize your index with > whatever file contents you have. > No, what I did was just "git clone" one repository to my local directory. And entered the local directory to modify one file I wanted. Then I run "git diff > my.patch". The "my.patch" was supposed to contain one file diff information. But it contained the all the files, including which were not changed. Thanks to reply. I''ll try to Andreas's suggestion. Regards, -Aubrey - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Tue Feb 28 03:19:34 2006
This archive was generated by hypermail 2.1.8 : 2006-02-28 03:19:46 EST