Re: Today's pgjdbc release causing git clone issues

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: John Harvey <john(dot)harvey(at)crunchydata(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Today's pgjdbc release causing git clone issues
Date: 2015-11-03 22:55:08
Message-ID: CADK3HHKOhrgNLk1uns__kMoTS0PSB8JLD7WYykDb3NsaVs5bEg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I gather I will have to commit the changes caused by the automatic changes
to stop this behaviour

Thanks for the report

Dave Cramer

davec(at)postgresintl(dot)com
www.postgresintl.com

On 3 November 2015 at 23:33, John Harvey <john(dot)harvey(at)crunchydata(dot)com>
wrote:

> Hello,
>
> I have a question about today's release of pgjdbc. I tried cloning down
> the code on a RHEL7 box today, and I was confused when I couldn't switch
> branches because of a conflict. I looked into it a little deeper, and
> tried the following procedure:
>
> git clone https://github.com/pgjdbc/pgjdbc.git
> cd pgjdbc
> git status
>
> In running that command, 4 files have been auto-modified on the clone:
> # modified: org/postgresql/test/ssl/SslTest.java
> # modified: org/postgresql/translation/de.po
> # modified: org/postgresql/util/PGTime.java
> # modified: org/postgresql/util/PGTimestamp.java
>
> This is unusual behavior for me. What's even stranger is that I cannot
> switch branches because some of these files have conflicts. Doing some
> research, I see that the new .gitattributes file has the following line in
> it:
>
> * text=auto
>
> I found a link that discusses this issue a bit:
>
> http://stackoverflow.com/questions/28145664/ignore-text-auto-in-gitattributes-file
> Unfortunately, I've tried everything in the post, and the only thing that
> works is to immediately git reset after clone, or to modify the
> .gitattributes file.
>
> Is this desired behavior? Does anyone have a suggestion what I need to do
> to work around it?
>
> Thank you,
> -John
>
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2015-11-04 06:45:45 Re: Today's pgjdbc release causing git clone issues
Previous Message John Harvey 2015-11-03 22:33:40 Today's pgjdbc release causing git clone issues