
-----Original Message----- From: Loeliger Jon-LOELIGER Sent: Friday, August 24, 2007 12:17 AM To: Jin Zhengxiong-R64188 Cc: Wolfgang Denk; u-boot-users Subject: RE: Remove the bios emulator binary files from MAI board
On Wed, 2007-08-22 at 21:03, Jin Zhengxiong-R64188 wrote:
Usually, I use git-format-patch to create the patch and use
git-apply
apply the patch.
Yes, git-diff can generate the patch like you descripted. but the patch can not apply to the source by git-apply,
If there is a patch that git generates that git-apply or git-am can not then re-apply, file a bug report!
I tried to use cg-patch to apply this kind of patch,
Ewww..... You should stop using cogito entirely. Really. It is totally deprecated and unsupported these days. Most all of the original cogito functionality has been incorporated into core git these days.
it can remove the binary files but can not remove the empty directory.
Rest assured, git is not tracking the empty directories. :-)
I updated git to V1.5 and used git-rm with option '-r', then used git-format- patch to generate the patch. The patch can apply by git-apply and can remove the directory, But as Wolfgang said, it's too large!
Jason