delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/19/12:24:49

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:subject:references:to:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=AxcYFx/7D/crmQEY
7dUTXgiU2oCWKZv38Zc9fDPH2vAEAKOJ/+E0zyjzz2HdCCj0NjX7+BDFlr9gBlw9
uvLpOHm/SNGa+P0calvJNj40HIHiV64PIIDkXdCnTdry/Q3917bHM1rjvHHZV0cO
PCKRjgIc8PaFXZpVu3uVQw64/8w=
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:subject:references:to:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=VvZiMxm9FheUGrHs2/08aI
sDL2c=; b=EqIVffkgOhCj1dgasifGuqla19Gp5QAprXhPPTXIHkDiDZ/b/hXMnj
qHf4c18XLsvf3Z7j29mAwMYD6CC5gLBw24XczSmc6FkjUAuh7n8jAp9rFsNDaT4m
nUcd3CToz7w6KDubRMUyPM9duhHrzF6xntbYFdouHGZ4YOb7jbCU4=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, H*RU:shaw.ca, H*RU:64.59.136.137
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=UeUhcOaN c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w5aJ8kaLLAry8Qfnm_kA:9 a=QEXdDO2ut3YA:10
Subject: Re: git stash damaged?
References: <4f649dfd-bb02-3d41-9e74-69b7440a2ad3 AT anyces DOT com>
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Message-ID: <6c283005-ec89-f2e3-a556-b018e8bbbb4e@SystematicSw.ab.ca>
Date: Thu, 19 Jan 2017 10:24:24 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <4f649dfd-bb02-3d41-9e74-69b7440a2ad3@anyces.com>
X-CMAE-Envelope: MS4wfBK8NHBW/Ie78UACVibiyC0snuX4rfwDpFL6mKq+RyPPFI47MmiCilu0JphpffrCPvzvLV6aSJ8KsnuwJh9I2nvcc2hyv3InvoHjAaNEckPSG3wTubn/ B3693wHdP4Rlhq17p4z98RABstYs7kJJLrPomZNhgbet/werIstpL8iMWVflDPvZNrjxbkqeJFv42Q==
X-IsSubscribed: yes

On 2017-01-19 07:47, Olivier FAURAX wrote:
> When I use "git stash", I get a message saying it is there but not
> executable.
> $ git stash
> fatal: 'stash' appears to be a git command, but we were not
> able to execute it. Maybe git-stash is broken?
> I tested with 2.8.3-1 and 2.8.2-1.
> I checked /usr/libexec/git-core/git-stash and it is a script that has
> proper permissions.
> Can you reproduce? (package: git)

$ file /usr/libexec/git-core/git-stash

and check if it mentions, DOS, BOM, or CRLF line terminators - fix with: 

$ dos2unix -k /usr/libexec/git-core/git-stash

then recheck permissions still executable.

If that's not it, post output of: 

$ ls -Adl .git
$ uname -srvmo
$ git --version
$ file    /usr/libexec/git-core/git-stash
$ ls -l   /usr/libexec/git-core/git-stash
$ getfacl /usr/libexec/git-core/git-stash
$ icacls  `cygpath -w /usr/libexec/git-core/git-stash`

to see if anything looks off.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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