Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: "Peter A. Bigot" <pab@pabigot.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [oe] Style issue for recipes
Date: Thu, 04 Sep 2014 19:00:09 +0200	[thread overview]
Message-ID: <lyiol3uxra.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)
In-Reply-To: <540896F8.9040805@pabigot.com> (Peter A. Bigot's message of "Thu,  04 Sep 2014 11:44:40 -0500")

"Peter A. Bigot" <pab@pabigot.com> writes:

>>> .inc files make sense with current packaging because they are revision
>>> control friendly.  E.g. you can put the logic into .inc and follow its
>>> history with 'git log' which is not possible when there are only the
>>> versioned .bb files.
>> You can follow changes to the .inc but not anything that went in and
>> out of the .bb, but I do concede that git not tracking the renames
>> directly does mean some histories are harder to track (although simple
>> to follow as the commit where the history stops will tell you where to
>> pick it up again).
>
> git log --follow foo_1.2.bb handles 90% of this:

it's not only 'git log'; it is 'git blame' too and because git does not
support renaming of files natively, the 'git log --follow' method is
error prone and might compare the wrong files resp. fail completely when
there are too much changes.


Enrico


  reply	other threads:[~2014-09-04 17:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-04 14:12 Style issue for recipes Burton, Ross
2014-09-04 15:03 ` [oe] " Robert Yang
2014-09-04 15:41   ` akuster808
2014-09-04 16:26     ` Burton, Ross
2014-09-04 20:03       ` akuster808
2014-09-04 16:07 ` Enrico Scholz
2014-09-04 16:29   ` Burton, Ross
2014-09-04 16:44     ` Peter A. Bigot
2014-09-04 17:00       ` Enrico Scholz [this message]
2014-09-04 17:38         ` Andreas Müller
2014-09-04 18:36           ` Enrico Scholz
2014-09-04 19:12             ` Burton, Ross
2014-09-29  0:51               ` Trevor Woerner
2014-09-04 16:34 ` Burton, Ross
2014-09-05  9:11 ` [oe] " Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=lyiol3uxra.fsf@ensc-virt.intern.sigma-chemnitz.de \
    --to=enrico.scholz@sigma-chemnitz.de \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pab@pabigot.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox