fix git (un)lock with spaced filenames by ax1036 · Pull Request #935 · tj/git-extras

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@ax1036

Copy link Copy Markdown

Contributor

@ax1036 ax1036 commented

Aug 10, 2021

Before:

$ git lock "filename including spaces.oh"
git-lock: line 37: test: too many arguments
fatal: Unable to mark file filename 

After:

$ git lock "filename including spaces.oh"
$ git unlock "filename including spaces.oh"

@spacewander spacewander merged commit a07c5ec into tj:master

Aug 11, 2021

@ax1036 ax1036 deleted the git-un-lock branch

August 11, 2021 13:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@spacewander spacewander spacewander approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ax1036 @spacewander