All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <27612.658069893$1237390186@news.gmane.org>]
* Loss of all package history following the recipe rename.
@ 2009-03-18 15:23 John Willis
  2009-03-18 15:38 ` John Willis
  0 siblings, 1 reply; 6+ messages in thread
From: John Willis @ 2009-03-18 15:23 UTC (permalink / raw)
  To: openembedded-devel

People,

Am I right in assuming that the decision to drop history for all packages
was really an unintentional side effect of this change? 

Unless I am going totally nuts the ONLY history for a given package now is
the 'git mv' commit.

i.e. on GIT HEAD

git log recipes/abiword/abiword-plugins_2.5.2.bb
commit 709c4d66e0b107ca606941b988bad717c0b45d9b
Author: Denys Dmytriyenko <denis@denix.org>
<snip, only the only commit logged>

On an old tree I keep for reference.

git log packages/abiword/abiword-plugins_2.5.2.bb
<snip, page after page of commits logged>

I just checked and the behavior of 'git mv' and it seems it's really just
'git rm && git add' under the hood, a few local experiments seem to confirm
that is the by design behavior (seems totally insane for a source control
system to do that however :-o) and after the 'git rm' the history is toast
as your then creating a new object with the same content as the removed one
:(.

I am not sure what we can do about this without resorting to a revert but it
looks like we may wish to look into something like 'git-filter-branch' (and
several other tools) to redo the move with something like the history
intact. 

That said, 'git-filter-branch' is a little scary and is proving to be more
then I really planned to be messing with on a sunny afternoon and I am not
totally sure if it will even do what is needed.

Does anyone have any other ideas or comment? Or have I completely lost the
plot and there is not really any problem other then in my local trees?

Regards,

John

--

> What is a grue?

The grue is a sinister, lurking presence in the dark places of the earth.
Its favourite diet is adventurers, but its insatiable appetite is tempered
by its fear of light. No grue has ever been seen by the light of day, and
few have survived its fearsome jaws to tell the tale.






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-18 18:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <-2193387358217288963@unknownmsgid>
2009-03-18 16:06 ` Loss of all package history following the recipe rename Chris Larson
2009-03-18 17:56   ` Philip Balister
2009-03-18 18:07     ` Chris Larson
     [not found] <27612.658069893$1237390186@news.gmane.org>
2009-03-18 15:52 ` Koen Kooi
2009-03-18 15:23 John Willis
2009-03-18 15:38 ` John Willis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.