On Fri, 2010-11-19 at 17:47 +0800, Tian, Kevin wrote: > >From: Frans Meulenbroeks [mailto:[email protected]] > >Sent: Friday, November 19, 2010 5:43 PM > > > >> > >>> > >>>Here the inc file could be merged into the bb file. > >>>This has the advantage of having only a single file, so it is slightly > >>>easier if you want to read or maintain the recipe. > >> > >> One advantage of not doing so is to retrieve change history in git easily. > >> Version change on .bb is a rename which in git is simply a remove and > >> create, while with .inc you can easily track history. This also reduces the > >> commit size. > > > >If I am correct git mv does preserve history although the name change > >makes it a little bit more difficult to track them. > > I'm not sure how that works consistently. Sometimes the rename is kept > while most times it doesn't happen to me. :-(
Git does not track renames. Some of its tools can however detect renames which is subtly different. See "git diff -M" which detects renames for example. Cheers, Richard _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
