[postgis-devel] Current master branch of postgis causing clone issues ?

John Harvey john.harvey at crunchydata.com
Thu Aug 25 07:53:25 PDT 2016


Hello all,

Just to make the issue easier to track/understand, I submitted a pull
request:
https://github.com/postgis/postgis/pull/115

This contains the 2 changes that keep getting modified on my branch
whenever I clone.
If I remember right, this was how we fixed a similar situation on another
project.

If I'm wrong about it though, feel free to correct me (I'd be glad to
understand the situation a little better).

Regards,
  -John

On Thu, Aug 25, 2016 at 10:19 AM, John Harvey <john.harvey at crunchydata.com>
wrote:

> Hello all,
>
> I see something weird in PostGIS at the moment.
> When I do:
> mkdir ~/git
> cd ~/git
> git clone git at github.com:postgis/postgis.git
> cd postgis
> git status
>
> I notice the following:
> modified:   extras/tiger_geocoder/create_geocode.bat
> modified:   extras/tiger_geocoder/upgrade_geocoder.bat
>
> Although, I didn't modify these files.  I just did a regular clone.
>
> I suspect the .gitattributes file has something to do with it.
> The 2 files impacted are Windows files, so probably have the wrong
> carriage-return type.
> And, in the .gitattributes file, I see this rule:
> *.bat       eol=crlf
> So, I think this forces a change after clone.
>
> I suspect this problem was introduced in the latest commit from 8/17 (it
> seems the endline changes were committed there).
>
> Does anyone else see this problem?  Is this something that can be fixed?
>
> Thanks!
>   -John Harvey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20160825/9ee5bd21/attachment.html>


More information about the postgis-devel mailing list