mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	push_to_pull_request: Fix handling of .git.
This was throwing the "you can't access the repo" error for this reason.
This commit is contained in:
		| @@ -29,8 +29,8 @@ remote_url="$(git config remote."$remote".url)" | ||||
| repo_fq="$(echo "$remote_url" | perl -lne 'print $1 if ( | ||||
|     m, ^ git\@github\.com: | ||||
|          ([^/]+ / [^/]+) | ||||
|          (?:\.git)? | ||||
|        $ ,x )')" | ||||
|          (\.git)? | ||||
|        $ ,x )' | sed 's/.git$//')" | ||||
|  | ||||
| if [ -z "$repo_fq" ]; then | ||||
|     # We're pretty specific about what we expect the URL to look like; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user