mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-31 23:22:10 +00:00 
			
		
		
		
	Change: rules_git_checkout handling branch names with slashes & Remote HEAD. (#944)
* Add: Test for branch names with slashes & Remote HEAD. * - Add: Handling for removing remote HEAD. - Change: Improved handling for branches with slash in their names.
This commit is contained in:
		| @@ -39,6 +39,11 @@ def test_not_match(command): | ||||
|     (b'', []), | ||||
|     (b'* master', ['master']), | ||||
|     (b'  remotes/origin/master', ['master']), | ||||
|     (b'  remotes/origin/test/1', ['test/1']), | ||||
|     (b'  remotes/origin/test/1/2/3', ['test/1/2/3']), | ||||
|     (b'  test/1', ['test/1']), | ||||
|     (b'  test/1/2/3', ['test/1/2/3']), | ||||
|     (b'  remotes/origin/HEAD -> origin/master', []), | ||||
|     (b'  just-another-branch', ['just-another-branch']), | ||||
|     (b'* master\n  just-another-branch', ['master', 'just-another-branch']), | ||||
|     (b'* master\n  remotes/origin/master\n  just-another-branch', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user