From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81301 invoked by alias); 19 Jan 2017 17:24:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 81214 invoked by uid 89); 19 Jan 2017 17:24:30 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 19 Jan 2017 17:24:28 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id UGRkcEq7jrvfEUGRlcaBEC; Thu, 19 Jan 2017 10:24:27 -0700 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@anyces.com> To: cygwin@cygwin.com From: Brian Inglis Reply-To: Brian.Inglis@SystematicSw.ab.ca Message-ID: <6c283005-ec89-f2e3-a556-b018e8bbbb4e@SystematicSw.ab.ca> Date: Thu, 19 Jan 2017 17:24:00 -0000 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfBK8NHBW/Ie78UACVibiyC0snuX4rfwDpFL6mKq+RyPPFI47MmiCilu0JphpffrCPvzvLV6aSJ8KsnuwJh9I2nvcc2hyv3InvoHjAaNEckPSG3wTubn/ B3693wHdP4Rlhq17p4z98RABstYs7kJJLrPomZNhgbet/werIstpL8iMWVflDPvZNrjxbkqeJFv42Q== X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00256.txt.bz2 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