EPICS Home

Experimental Physics and Industrial Control System


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

Subject: stupid git trick
From: Michael Davidsaver <[email protected]>
To: [email protected], PVData Developers <[email protected]>
Date: Mon, 23 Nov 2015 13:53:41 -0500
Today I came across a new (to me) simple way to track a file through renames.  It seems that "git log" at some point gained "--follow".

So the following will print the filename for each commit touching it. (uniq removes duplicates)

> $ git log --format='' --name-only --follow src/ioc/db/dbAccess.h | uniq
> src/ioc/db/dbAccess.h
> src/db/dbAccess.h



Navigate by Date:
Prev: Build failed in Jenkins: epics-base-3.15-win64s #189 APS Jenkins
Next: Re: Successfully locked memory using mlockAll Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Jenkins build is back to normal : epics-base-3.15-win64s #190 APS Jenkins
Next: Re: Successfully locked memory using mlockAll Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024