From: Steffen Nurpmeso <steffen@sdaoden.eu>
To: git@vger.kernel.org
Subject: v2.10.0: ls-tree exit status is always 0, this differs from ls(1)
Date: Wed, 21 Sep 2016 15:26:55 +0200 [thread overview]
Message-ID: <20160921132655.h49HMsHbp%steffen@sdaoden.eu> (raw)
I think this behaviour contradicts the manual which strongly links
ls-tree to ls(1):
?0[steffen@wales ]$ ls NEWSS
ls: cannot access 'NEWSS': No such file or directory
?2[steffen@wales ]$ git ls-tree --name-only master NEWSS
?0[steffen@wales ]$ ls NEWS
NEWS
?0[steffen@wales ]$ git ls-tree --name-only master NEWS
NEWS
?0[steffen@wales ]$
Ciao.
--steffen
next reply other threads:[~2016-09-21 13:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-21 13:26 Steffen Nurpmeso [this message]
2016-09-21 16:52 ` v2.10.0: ls-tree exit status is always 0, this differs from ls(1) Junio C Hamano
2016-09-21 19:40 ` Steffen Nurpmeso
2016-09-21 20:39 ` Junio C Hamano
2016-09-21 22:46 ` Steffen Nurpmeso
2016-09-22 11:36 ` Michael J Gruber
2016-09-22 12:57 ` Steffen Nurpmeso
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=20160921132655.h49HMsHbp%steffen@sdaoden.eu \
--to=steffen@sdaoden.eu \
--cc=git@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox