Git repository (Unstaged changes)

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Nov 14 17:27:49 CET 2012


On 14 Nov 2012, at 15:40, Phil Mayers <p.mayers at imperial.ac.uk> wrote:

> On 14/11/12 15:25, Phil Mayers wrote:
>> On 01/11/12 16:04, Arran Cudbard-Bell wrote:
>>> 
>>> On 1 Nov 2012, at 15:55, Alan DeKok <aland at deployingradius.com>
>>> wrote:
>>> 
>>>> Manuel Argüelles wrote:
>>>>> On Thu, Nov 01, 2012 at 04:35:45PM +0100, Alan DeKok wrote:
>>>>>> Well, don't set "ident".  It's not set in the FreeRADIUS
>>>>>> repository, so t must be set in your local ~/.gitconfig file.
>>>>>> 
>>>>> 
>>>>> Probably it is set by default (git version 1.8.0):
>>>> 
>>>> Hmm... that's new.
>>> 
>>> It is set in the repo as of a couple of hours ago. I think i've fixed
>>> up all the problematic ones  so it should be ok now.
>> 
>> For reference this, and the "text=auto", are causing me problems on
>> v2.x.x branches:
>> 
>>  - share/dictionary.freeswitch - reporting a change for $Id$
>>  - raddb/sql/oracle/msqlippool.txt - line endings
>> 
>> I don't think I can fix these locally, can I?
>> 
> 
> "man gitattributes" suggests this procedure:
> 
> $ echo "* text=auto" >>.gitattributes
> $ rm .git/index     # Remove the index to force git to
> $ git reset         # re-scan the working directory
> $ git status        # Show files that will be normalized
> 
> ...which shows problems with:
> 
> dialup_admin/htdocs/help/filter_id_help.html
> dialup_admin/htdocs/help/framed_protocol_help.html
> dialup_admin/htdocs/help/service_type_help.html
> raddb/sql/oracle/msqlippool.txt
> share/dictionary.freeswitch
> 
> ...in v2.x.x branches, at least.
> 
> I was able to "fix" this broken repo with:
> 
> git rm .gitattributes
> git checkout <thefiles>
> git stash save grumble-grumble

Ok cherry-picked 8f90e2174e15790b2b26a45bc2997b126317b67d over to v2.x.x branch.

-Arran


More information about the Freeradius-Devel mailing list