EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: another git question
From: "Yendell, Gary \(DLSLtd, RAL, LSCI\) via Core-talk" <core-talk at aps.anl.gov>
To: "Zimoch Dirk (PSI)" <dirk.zimoch at psi.ch>
Cc: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Fri, 20 Nov 2020 08:55:17 +0000
Hi Dirk,

You may want to play around with the find renames option on the cherry-pick commands [1]. This adjusts the allowed % difference between two files for them to be considered renamed, rather than deleted and created.

If that doesn't work, you could
  • Rename the file to match the branch you are cherry picking from - Commit 1
  • Do the cherry-pick - Commit 2
  • Revert Commit 1 - Commit 3
  • Squash Commits 1-3
Possibly this could be scripted if it is the only thing that works and you need to do it frequently.


(Apologies if this email doesn't come through properly, I am only subscribed to core talk by RSS, so I didn't have an email to reply to.)

Cheers,
Gary

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


Replies:
AW: another git question Zimoch Dirk (PSI) via Core-talk

Navigate by Date:
Prev: AW: AW: AW: Problems with hanging osiSockTest Zimoch Dirk (PSI) via Core-talk
Next: AW: another git question Zimoch Dirk (PSI) via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: AW: another git question Michael Davidsaver via Core-talk
Next: AW: another git question Zimoch Dirk (PSI) via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 20 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·