MaxGekk commented on issue #26031: [SPARK-29362][SQL] Move timestamp 
expressions and tests to separate files
URL: https://github.com/apache/spark/pull/26031#issuecomment-538757824
 
 
   > Does it preserve git history for both files?
   
   @srowen Git (and IntelliJ IDEA) is able to track history for both files. I 
see original history (and blame annotations) in the renamed file 
(`datetimeExpressions.scala` -> `dateExpressions.scala`) as is. In the new file 
`timestampExpressions.scala`, I am as the last author of whole file but you can 
see the git log and blames as I showed above. When you select `Annotate 
Previous Revision`, IDEA opens parent revision on the original file 
`datetimeExpressions.scala`. Somehow it recognizes the original places where 
the code moved from. The same for history new file 
`timestampExpressions.scala`. Its history does not start from scratch (see the 
second screenshot above).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to