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-08-20 09:53:37 -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-09 12:54:03 -07:00
2014-03-25 11:07:36 -07:00
2014-03-18 14:03:03 -07:00
2014-06-13 11:49:39 -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-06-12 10:29:41 -07:00
2014-09-11 10:33:32 -07:00
2014-09-02 13:23:20 -07:00
2014-07-07 13:56:35 -07:00
2014-07-28 10:14:34 -07:00
2014-07-02 12:53:02 -07:00
2014-08-18 10:14:19 -07:00
2014-07-09 11:34:05 -07:00
2014-07-17 13:36:25 -07:00
2014-07-16 13:06:41 -07:00
2014-08-07 13:33:28 -07:00
2014-06-25 11:47:49 -07:00
2014-08-20 09:53:37 -07:00
2014-07-21 12:35:39 -07:00
2014-09-02 13:28:44 -07:00
2014-09-09 12:53:59 -07:00
2014-05-27 14:00:43 -07:00
2014-06-25 11:48:23 -07:00
2014-08-13 09:50:58 -07:00
2014-08-20 09:53:37 -07:00
2014-09-03 15:06:59 -07:00
2014-06-19 15:20:54 -07:00
2014-08-20 09:53:37 -07:00
2014-08-26 11:16:25 -07:00
2014-06-10 13:09:24 -07:00
2014-06-20 10:44:43 -07:00
2014-06-13 11:49:41 -07:00
2014-09-11 10:33:31 -07:00
2014-05-08 14:31:43 -07:00
2014-08-20 09:53:37 -07:00
2014-07-22 10:25:17 -07:00
2014-08-20 09:53:37 -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-06-13 12:09:38 -07:00
2014-09-19 10:46:15 -07:00
2014-03-24 10:43:34 -07:00
2014-06-13 11:49:10 -07:00
2014-09-19 10:46:15 -07:00
2014-09-11 10:33:31 -07:00
2014-07-16 11:25:40 -07:00
2014-09-03 10:04:19 -07:00
2014-06-23 15:50:31 -07:00
2014-08-20 09:53:37 -07:00