On Thu, 18 Sep 2014 17:04:55 +1200
Kent Fredric <[email protected]> wrote:

> What's more, you can in fact do:
> 
> git mv foo-1.ebuild foo-2.ebuild
> git commit
> 
> and you can still easily tell git to show that as a difference in a
> log.
> 
> Example script to emulate this and example output:
> https://gist.github.com/kentfredric/10e93e9aac875e9edb93
> 
> ( In fact, you don't even have to use 'git mv', as long as you change
> the tree state completely, git is smart enough to track most changes )
> 
Lets assume, that I don't want to scrap old ebuild yet. There's no git
cp command. git mv is just git rm + git add. That's what does it look
like (usual revbump with git add in reality):
https://github.com/cerebrum/dr/commit/311df9b04d876f5847416fe5ba699edfab50adb6
I think that git (at least with default config is a pain in the ass for
packages at all and we should probably think about better platform for
portage).

Reply via email to