Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git hook: format renamed files #471

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

KotlinIsland
Copy link
Contributor

@KotlinIsland KotlinIsland commented Apr 21, 2021

When a file is renamed git diff will return the status, old and new name. so $2 will return the old name, $NF will return the last field in the string, the new name.

@KotlinIsland KotlinIsland force-pushed the git-hook-format-renames branch 7 times, most recently from a5a3576 to 5d90e1f Compare April 21, 2021 23:18
Copy link
Collaborator

@Tapchicoma Tapchicoma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM!

Could you fix merge conflicts and address few minor comments?

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@Tapchicoma Tapchicoma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Thank you for fixing it 👍

@Tapchicoma Tapchicoma merged commit e6e5609 into JLLeitschuh:master Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants