On 18/04/2025 15:23, Florian Klämpfl via fpc-devel wrote:


I checked, I can do "git log" on both files, and I get the full history (for
oldheap.inc you need to add --follow to get it)

Is this not what you wanted ?

When I do git blame I get:

c8bf474d6d0 (Michaël Van Canneyt 2025-04-18 14:44:24 +0200   18) { $define HAS_MEMORYMANAGER}

c8bf474d6d0 (Michaël Van Canneyt 2025-04-18 14:44:24 +0200   19)



Just an observation. This looks like
  git blame rtl/inc/heap.inc
the NEW file.

I think Michael means
  git blame rtl/inc/oldheap.inc
which will then show the former "heap.inc" too.

If you also want to be able to do the blame an the new heap.inc then you may have to squash the commits that remove it, and later add the new one.

But I am not sure if you then can do a good blame on oldheap.inc (would need to test that / not sure if duplication is seen as rename which will be followed).
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to