zeripath 
		0faf175694 
		
			
		
	 
	
	
	Fix missing close in WalkGitLog ( #17008 ) ... 
			When the external context is cancelled it is possible for the
GitLogReader to not itself be Closed.
This PR does three things:
1. Instead of adding a plain defer it wraps the `g.Close` in a func as
`g` may change.
2. It adds the missing explicit g.Close - although the defer fix makes
this unnecessary.
3. It passes down the external context as the base context for the
GitLogReader meaning that the cancellation of the external context will
pass down automatically.
Fix  #17007 
Signed-off-by: Andrew Thornton <art27@cantab.net> 
		
	 
		2021-09-10 17:46:12 +08:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-06-30 19:49:06 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-20 20:23:01 +03:00 
		 
	
		
			
			
			
			
			
			2020-07-01 14:01:17 +01:00 
		 
	
		
			
			
			
			
			
			2021-07-08 13:38:13 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-31 08:43:31 +01:00 
		 
	
		
			
			
			
			
			
			2021-05-10 03:27:03 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-24 17:47:46 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-18 21:10:39 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-06-06 19:44:58 -04:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2021-05-12 01:11:42 -04:00 
		 
	
		
			
			
			
			
			
			2021-07-02 21:23:37 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-09 14:08:51 -04:00 
		 
	
		
			
			
			
			
			
			2021-02-27 19:46:14 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-25 17:54:08 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-23 17:08:26 -04:00 
		 
	
		
			
			
			
			
			
			2021-06-25 17:54:08 +01:00 
		 
	
		
			
			
			
			
			
			2021-07-28 17:42:56 +08:00 
		 
	
		
			
			
			
			
			
			2021-06-25 17:54:08 +01:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-06-25 17:54:08 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-26 13:28:55 +02:00 
		 
	
		
			
			
			
			
			
			2021-09-10 17:46:12 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-09 16:24:34 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2019-03-27 17:33:00 +08:00 
		 
	
		
			
			
			
			
			
			2020-11-08 12:21:54 -05:00 
		 
	
		
			
			
			
			
			
			2021-06-14 19:20:43 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-09-09 21:13:36 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-09 21:13:36 +01:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2019-07-23 19:50:39 +01:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-05-10 03:27:03 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-02-03 20:06:13 +01:00 
		 
	
		
			
			
			
			
			
			2021-07-28 17:42:56 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-09 14:08:51 -04:00 
		 
	
		
			
			
			
			
			
			2021-08-09 14:08:51 -04:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2020-08-11 21:05:34 +01:00 
		 
	
		
			
			
			
			
			
			2021-08-09 14:08:51 -04:00 
		 
	
		
			
			
			
			
			
			2019-10-16 14:42:42 +01:00 
		 
	
		
			
			
			
			
			
			2019-03-27 17:33:00 +08:00 
		 
	
		
			
			
			
			
			
			2021-09-09 21:13:36 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-09 21:13:36 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-09 21:13:36 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2019-11-13 07:01:19 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2020-01-20 12:07:30 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-08 13:38:13 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-12 14:43:08 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-12 14:43:08 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-09 17:20:33 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2020-09-07 20:08:10 -04:00 
		 
	
		
			
			
			
			
			
			2020-09-07 20:08:10 -04:00 
		 
	
		
			
			
			
			
			
			2020-12-22 21:44:25 +01:00 
		 
	
		
			
			
			
			
			
			2021-05-12 01:11:42 -04:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-17 22:00:47 +08:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-05-10 03:27:03 +02:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-08-24 11:47:09 -05:00 
		 
	
		
			
			
			
			
			
			2021-07-20 15:16:20 +02:00 
		 
	
		
			
			
			
			
			
			2020-05-14 18:55:43 -04:00 
		 
	
		
			
			
			
			
			
			2021-07-08 13:38:13 +02:00