delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/03/27/09:24:53

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:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=BQikmnoL3XD6a3rg
hGU1m3NTBHGi1+RDdXvkOWpF7AHfmLERBaPHuc2Py0PFOyDrTg95wF0xXuZCxr5j
1YWzbIKrqSvG2Jsr2pclS2bw3dkh+UwdtKStRKOVLwCfur+vuqtY4WyqLPozpnt7
KE0kZb3LzRbBzwBCkyD5DA83/xk=
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:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Vs6/+UpNAKTQeXcEYIYqO1
vwQ7s=; b=pgIOUEsJBgRANbKKl4GdjuAdRSqrXRRZlbff6Aao/5MzqOslUV1zA8
+5J6uP96ys1btJv6IwGzM/3DWZB/ZpesHY9AcILTCOiNU5MTizoGFX8l5zBk+bez
FiAZ1lo5KPINT7gZF7mA8fdwvxNuw4vPhiJx2uew/LCc0h0Am/5d8=
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=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=endings, moss, H*f:sk:QwjEgRz, H*f:sk:CAHdnY6
X-HELO: mail-it0-f53.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=YtzpkD2cojo6xX19APowGhEVu2b6zFpHdspmzUVFjbM=; b=dYG/m+uafuTxuj2OAlqnJXNly18y55pbko1/5f7F5dJ5vFOwCNeWN7rrqkSTU8uZL6 jUixdLmXsOxlw/XXGZfvR+MR9JEXnXaMdhzPwhgkKh5WS5XDMIUyZbX759XLl0pS1Y3k rFODzw0ul5+yd2DdonSYM/TFrvNU12NPsklqw6VSMFbBh5ClacUn2eobiq+3u3S5aZf6 Z8cMO/EK15LyfMuTpOuTxCBvPY7aBV3zNRV+c8yQB7ZJ94gT4eD+MZkuoo3ysTN7oaA3 u4pV23dpEBV/5ATLZHjKy+mj2449xsqRb3oNo3GZq1rLrYmmbuV8aqTmTgdKVNay6DjT Q2DA==
X-Gm-Message-State: AFeK/H02Dw/B7IJR+0xpPgQajlViAoxY2tF6f9qJCwhYDR1I2qbEDmqlyT/Qvai5nljLsA==
X-Received: by 10.107.12.40 with SMTP id w40mr21039470ioi.209.1490621042963; Mon, 27 Mar 2017 06:24:02 -0700 (PDT)
Subject: Re: git alias for "status" not working
To: cygwin AT cygwin DOT com
References: <CAHdnY6Ohn0-5_KvPCqhqh5+QwjEgRzVm-ykpO0mGVbHYgyQC5Q AT mail DOT gmail DOT com> <eeb48cc7-030a-1bf7-b6ac-b88b63bea861 AT cs DOT umass DOT edu>
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <887d767d-b5df-5359-8eb1-8f3ad5db4d47@gmail.com>
Date: Mon, 27 Mar 2017 09:24:03 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <eeb48cc7-030a-1bf7-b6ac-b88b63bea861@cs.umass.edu>
X-IsSubscribed: yes

On 3/27/2017 8:23 AM, Eliot Moss wrote:
> On 3/27/2017 8:17 AM, David Dombrowsky wrote:
>> I'm not sure how to debug this one.  I have a ~/.gitconfig that sets up
>> an alias for "git status" using the simple rule:
>>
>> [alias]
>>     st = status
>>
>> Yet, something is failing when I run it from the command line:
>>
>> $ git st
>> [nothing happens]
>> $ git status
>> On branch 3.3-dev-davidd
>> Your branch is ahead of 'origin/3.3-dev-davidd' by 2 commits.
>> [... etc ...]
>>
>> Any ideas?
> 
> st is also a prefix of "stash".  Maybe it does not like aliases
> that are prefixes of other commands?

Also check the line endings of the config file.  Make sure they are UNIX
line endings instead of Windows.

-- 
cyg Simple

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