When publishing stash untracked files as well
This commit is contained in:
parent
52afc79476
commit
79c19562b5
1 changed files with 1 additions and 1 deletions
|
|
@ -493,7 +493,7 @@ def safe_read(path: str) -> str:
|
|||
@contextmanager
|
||||
def change_to_git_master() -> Generator[None, None, None]:
|
||||
stash_ref_before = safe_read('.git/refs/stash')
|
||||
subprocess.check_call(['git', 'stash'])
|
||||
subprocess.check_call(['git', 'stash', '-u'])
|
||||
try:
|
||||
branch_before = current_branch()
|
||||
if branch_before != 'master':
|
||||
|
|
|
|||
Loading…
Reference in a new issue