Some local customization enhancements when using git

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Fri Jan 10 14:27:00 GMT 2020


On 10/01/2020 13:23, Richard Earnshaw (lists) wrote:
> This patch is intended to help with folks setting up a git work 
> environment for use with GCC following the transition to git.  It 
> currently does a couple of things.
> 
> 1) Add an alias 'svn-rev' to git so that you can look up a legacy commit 
> by its svn revision number.  This enables you to type
> git svn-rev 1234
> and git will show the commit log entry relating to SVN r1234.
> 
> 2) Sets up tracking information for the user's private name area in the 
> git repo.  It tries to figure out some sensible answers to the data it 
> needs, but allows the user to override the values.  It then creates the 
> fetch and push entries that are needed for tracking the extra refs. This 
> implements one part of the recommendations that I've proposed in 
> svnwrite.html for dealing with private branches.
> 
> It should be possible to run the script more than once and for it to 
> DTRT.  If you change your answers the configuration should be correctly 
> updated.
> 
> 2020-01-10  Richard Earnshaw  <rearnsha@arm.com>
> 
>      * gcc-git-customization: New file.
> 

Updated to add better support for diff-ing .md files.

R.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-git-conf.patch
Type: text/x-patch
Size: 2167 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20200110/5ca78b98/attachment.bin>


More information about the Gcc-patches mailing list