delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/05/03:13:14

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:message-id:date:to:subject:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Irr
7QwV2ICUtiWQ+A5sHwiPHmxKYZG7ly0sp8jY9WF16P/7fZZZQbattP+qPpLgoROG
Y9I+FIfGtHf13s0AAtLcrba12afgqByKTowVri+sutBIguQ0ELa4euZKNrI4fHh+
Sq4ERHGnGOyiRvdRGJOxiG8+tdErRyVk24z+rOIY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:message-id:date:to:subject:mime-version
:content-type:content-transfer-encoding; s=default; bh=cqokAU/EY
RkvHjg0Y7hGy+Rv3m8=; b=SfwvCmDTdCYtP+hTZOlWJyexQyFuXFz/AneRFUUh2
naqGV5RjO6OUrpxfsDV1aiDjlpJE5ERw/6P4oc2e55XNEvEzPZcnL+35icxc3R4b
M/HqtFrk8uCl5vRPjAm1p0InhN3QDzdBBPDWWUD6n86M57hu0c5brOHr5L16LAIY
M0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,TO_NO_BRKTS_PCNT autolearn=no version=3.3.2 spammy=UD:split, Changes, Cloning, cloning
X-HELO: freefriends.org
X-Envelope-From: arnold AT skeeve DOT com
X-Envelope-To: <cygwin AT cygwin DOT com>
From: arnold AT skeeve DOT com
Message-Id: <201808050712.w757Cx0a015412@freefriends.org>
Date: Sun, 05 Aug 2018 01:12:59 -0600
To: cygwin AT cygwin DOT com
Subject: Strange git issue with a particular repo
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0

Hi All.

Please cc me on responses, as I don't subscribe to the list.

I'm using a 64 bit install on Windows 10. I just now did an update
and it did not help.  The problem is with a particular repo only.
(Or at least, I only see it with this particular repo.) On Linux, do:

	git clone git://github.com/arnoldrobbins/bwk-awk
	cd bwk-awk
	git status

You should see something like this:

	$ git clone git://github.com/arnoldrobbins/bwk-awk
	Initialized empty Git repository in /u/arnold/bwk-awk/.git/
	remote: Counting objects: 463, done.
	remote: Compressing objects: 100% (16/16), done.
	remote: Total 463 (delta 1), reused 6 (delta 1), pack-reused 444
	Receiving objects: 100% (463/463), 5.06 MiB | 1.77 MiB/s, done.
	Resolving deltas: 100% (79/79), done.
	$ cd bwk-awk
	$ git status
	# On branch master
	nothing to commit (working directory clean)

On Cygwin, something strange happens instead:

	$ git clone git://github.com/arnoldrobbins/bwk-awk
	Cloning into 'bwk-awk'...
	remote: Counting objects: 463, done.
	remote: Compressing objects: 100% (16/16), done.
	remote: Total 463 (delta 1), reused 6 (delta 1), pack-reused 444
	Receiving objects: 100% (463/463), 5.06 MiB | 2.33 MiB/s, done.
	Resolving deltas: 100% (79/79), done.
	$ cd bwk-awk
	$ git status
	On branch master
	Your branch is up to date with 'origin/master'.

	Changes not staged for commit:
	  (use "git add <file>..." to update what will be committed)
	  (use "git checkout -- <file>..." to discard changes in working directory)

		modified:   regdir/Compare.T
		modified:   regdir/T.delete
		modified:   regdir/T.getline
		modified:   regdir/T.redir
		modified:   regdir/T.split
		modified:   regdir/T.sub

	no changes added to commit (use "git add" and/or "git commit -a")

The "modified" files are from an earlier commit. Doing git reset --hard has
no effect.

On cygwin:

	$ git --version
	git version 2.17.0

On Linux:

	$ git --version
	git version 1.7.1

But it also works OK on a Linux system with git 2.17.1.

Any help would be appreciated. I hope that you can reproduce it.

Thanks!

Arnold

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019