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: AW: another git question
From: "Zimoch Dirk \(PSI\) via Core-talk" <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "'core-talk at aps.anl.gov'" <core-talk at aps.anl.gov>
Date: Thu, 19 Nov 2020 09:00:16 +0000
Unfortunately, ' git config --global diff.renameLimit 0' does not help:

$ git config --global diff.renameLimit 0
$ git cherry-pick 76aa3aab0124b05e42ae5aa01ee27a78707d5d74...enable_mutex_PI
error: could not apply 2c7dae9... osdMutex.h: fixed multiple-inclusion guard
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
$ git status
# On branch PSI-7.0
# You are currently cherry-picking.
#   (fix conflicts and run "git commit")
#
# Unmerged paths:
#   (use "git add/rm <file>..." as appropriate to mark resolution)
#
#       deleted by us:      src/libCom/osi/os/posix/osdMutex.c
#       deleted by us:      src/libCom/osi/os/posix/osdMutex.h
#
no changes added to commit (use "git add" and/or "git commit -a")

How do you apply changes in libCom from EPICS 3 to 7? You must be doing that all the time, but I have no idea how.


> -----Ursprüngliche Nachricht-----
> Von: Michael Davidsaver <mdavidsaver at gmail.com>
> Gesendet: Mittwoch, 18. November 2020 18:56
> An: Zimoch Dirk (PSI) <dirk.zimoch at psi.ch>
> Cc: 'core-talk at aps.anl.gov' <core-talk at aps.anl.gov>
> Betreff: Re: another git question
> 
> On 11/18/20 7:56 AM, Zimoch Dirk (PSI) via Core-talk wrote:
> > Will git be able to handle files that have been moved to a different path?
> 
> Most of the time, yes.  Though there can be confusion
> when eg. both a move and a rename are detected.
> Some of the osd*.c files do this.
> 
> Before merging you will probably want to set:
> 
> > git config --global diff.renameLimit 0
> 
> This overrides a conservative default intended to speed
> up merges of very large projects (aka. the linux kernel).
> I've never had noticed this with Base.
> 
> cf. 'man git-config'

Replies:
Re: AW: another git question Michael Davidsaver via Core-talk
References:
another git question Zimoch Dirk (PSI) via Core-talk
Re: another git question Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Build failed: epics-base base-7.0-601 AppVeyor via Core-talk
Next: Build failed: EPICS Base 7 base-7.0-102 AppVeyor 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: another git question Michael Davidsaver via Core-talk
Next: Re: AW: another git question Michael Davidsaver 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, 19 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·