Boost logo

Boost-Build :

Subject: Re: [Boost-build] Git directory structure
From: Bjørn Roald (bjorn_at_[hidden])
Date: 2013-12-04 01:48:03


On 12/04/2013 07:09 AM, Vladimir Prus wrote:
> On 04.12.2013 09:38, Bjørn Roald wrote:
>
>> But why would you want to do that when a simple
>>
>> git rm index.html boost.css
>> git mv v2/* .
>> rm -rf v2
>> git commit -a -m "move v2 into root"
>>
>> and fixing references in bootstrap and elsewhere should do?
>>
>> You need to decide which of the duplicated index.html and boost.css to
>> move out of the way or delete. I have not tried to figure which one
>> make the more sense.
>>
>> After this you can try
>>
>> git blame util/string.jam
>
> I've tried the above approach, and then run:
>
> git blame build/virtual-target.jam
>
> and it kinda works (it still has v2/build/virtual-target.jam as the
> filename).

Thats what I would expect as that was the name of the file when it was
changed.

> Then I've tried this:
>
> $ git log build/virtual-target.jam
> commit 929cb2aa0fe7107a77104f6d2e059ab1cb9a51cb
> Author: Vladimir Prus <vladimir_at_[hidden]>
> Date: Wed Dec 4 10:05:46 2013 +0400
>
> Experiment with renaming 'v2' directory
>
> And that's the only log entry. See also:
>
> https://github.com/boostorg/build/commits/rename-experiment/build/virtual-target.jam
>
> I am doing something wrong?

looks like you need to add --follow :-(

$ git log --follow build/virtual-target.jam

--
Bjørn

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk