Files
git/builtin
David Aguilar c41a87dd80 refs: make rev-parse --quiet actually quiet
When a reflog is deleted, e.g. when "git stash" clears its stashes,
"git rev-parse --verify --quiet" dies:

	fatal: Log for refs/stash is empty.

The reason is that the get_sha1() code path does not allow us
to suppress this message.

Pass the flags bitfield through get_sha1_with_context() so that
read_ref_at() can suppress the message.

Use get_sha1_with_context1() instead of get_sha1() in rev-parse
so that the --quiet flag is honored.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-09-19 10:46:15 -07:00
..
2014-07-16 11:10:11 -07:00
2014-09-11 10:33:26 -07:00
2014-09-09 12:54:03 -07:00
2014-09-11 10:33:32 -07:00
2014-09-09 12:54:06 -07:00
2014-09-09 12:54:02 -07:00
2014-09-11 10:33:32 -07:00
2014-09-02 13:23:20 -07:00
2014-07-09 11:34:05 -07:00
2014-07-16 13:06:41 -07:00
2014-07-21 12:35:39 -07:00
2014-09-02 13:28:44 -07:00
2014-08-13 09:50:58 -07:00
2014-09-11 10:33:31 -07:00
2014-04-30 10:30:02 -07:00
2014-07-16 11:25:40 -07:00
2014-09-11 10:33:31 -07:00
2014-07-16 11:25:40 -07:00