From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: John Cheng <johnlicheng@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: cygwin git and golang: how @{u} is handled
Date: Sun, 21 Jan 2018 19:55:19 +0100 [thread overview]
Message-ID: <87372zhwiw.fsf@evledraar.gmail.com> (raw)
In-Reply-To: <CAJzZBAQuOqwRmBLOdUEVMY74_xT2dWe3a+9qT9ufc4bp8gjgig@mail.gmail.com>
On Sun, Jan 21 2018, John Cheng jotted:
> Actual result:
> Suppose that cygwin git is specified, the result becomes:
> exit status 128 fatal: ambiguous argument '@u': unknown revision or
> path not in the working tree.
Given that:
$ git log @{x}
fatal: ambiguous argument '@{x}': unknown revision or path not in the working tree.
Spews the output back at you as @{x} not @x the problem must be in
whatever is passing the argument to git, whether that's go or some other
wrapper.
Try putting a "git" first in your $PATH which is nothing but:
#!/bin/sh
echo "args: $@"
exit 1
And seeing what you get.
next prev parent reply other threads:[~2018-01-21 18:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-21 18:31 cygwin git and golang: how @{u} is handled John Cheng
2018-01-21 18:55 ` Ævar Arnfjörð Bjarmason [this message]
2018-01-21 23:43 ` Philip Oakley
2018-01-22 1:44 ` John Cheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87372zhwiw.fsf@evledraar.gmail.com \
--to=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=johnlicheng@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.