Colin Walters
b8c15ae859
lib/pull: Fix regression with pull-local for nonexistent refs
...
I was reading the pull code for the last release, and spotted
a bug in commit f923c2e1eaebe0c781f07d34ae1a03f94357bccd - in
the case where the ref doesn't exist, we don't set an error,
tripping an assertion in the main code.
The previous code wanted the ref to always exist, so just flip back the boolean
for "ignore noent". I moved the `g_strchomp()` just into the HTTP path - if a
local repo is corrupted in this way it's something to fix in that repo.
Closes : #1238
Approved by: pwithnall
2017-10-02 16:02:28 +00:00
..
2017-03-30 19:19:54 +00:00
2015-03-19 12:43:04 -04:00
2016-03-03 08:50:19 -05:00
2017-09-30 00:05:07 +00:00
2017-09-27 14:44:00 +00:00
2017-09-11 10:53:20 +00:00
2017-03-24 22:16:43 +00:00
2017-09-30 00:05:07 +00:00
2016-04-04 14:19:35 +00:00
2017-03-30 19:19:54 +00:00
2017-09-15 18:51:43 +00:00
2016-07-28 10:10:17 +00:00
2015-05-28 14:21:30 -04:00
2017-09-30 00:05:07 +00:00
2017-09-30 00:05:07 +00:00
2017-09-19 15:16:09 +00:00
2017-09-30 00:05:07 +00:00
2016-04-04 14:19:35 +00:00
2016-06-09 21:10:35 +00:00
2016-02-26 08:19:01 -05:00
2016-02-26 08:19:01 -05:00
2017-10-02 16:02:28 +00:00
2017-09-21 21:38:34 +00:00
2017-09-27 14:44:00 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-08 00:58:08 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2016-06-27 20:20:21 +00:00
2017-09-30 00:05:07 +00:00
2017-04-25 13:52:35 +00:00
2017-09-27 13:13:14 +00:00
2017-09-19 20:41:36 +00:00
2017-09-27 13:13:14 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-09-27 19:04:11 +00:00
2017-07-21 15:45:27 +00:00
2017-05-09 14:05:46 +00:00
2017-09-27 14:44:00 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-08-24 19:57:33 +00:00
2017-06-26 15:56:07 +00:00
2017-09-01 20:54:12 +00:00
2017-09-21 21:38:34 +00:00
2017-09-15 19:28:25 +00:00
2017-06-26 15:56:07 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-08-30 14:30:30 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-09-01 20:54:12 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-09-01 20:54:12 +00:00
2017-06-26 15:56:07 +00:00
2017-09-18 17:20:38 +00:00
2017-07-10 14:18:18 +00:00
2017-08-29 19:08:59 +00:00
2017-09-21 21:38:34 +00:00
2017-07-06 19:08:14 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-07 15:30:11 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-08-14 12:04:42 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-03-24 22:16:43 +00:00
2017-09-07 18:49:55 +00:00
2017-09-01 20:54:12 +00:00
2017-06-26 15:56:07 +00:00
2016-03-03 08:50:19 -05:00
2017-09-01 20:54:12 +00:00
2017-09-01 20:54:12 +00:00
2017-05-18 01:14:15 +00:00
2017-09-13 16:03:25 +00:00
2017-09-21 21:38:34 +00:00
2017-09-28 14:08:40 +00:00
2017-09-28 14:08:40 +00:00
2017-09-28 14:08:40 +00:00
2017-09-28 14:08:40 +00:00
2017-09-01 20:54:12 +00:00
2017-09-21 16:51:15 +00:00
2017-09-21 21:38:34 +00:00
2017-09-21 21:38:34 +00:00
2017-07-21 15:45:27 +00:00
2017-08-24 19:57:33 +00:00
2017-10-02 13:39:41 +00:00
2017-09-01 20:54:12 +00:00
2017-06-27 21:45:34 +00:00
2017-10-02 14:44:34 +00:00
2017-09-21 21:38:34 +00:00
2017-09-15 18:51:43 +00:00
2017-09-21 21:38:34 +00:00
2017-09-01 20:54:12 +00:00