Skip to content

Conversation

zyla
Copy link

@zyla zyla commented May 6, 2022

This is useful for monorepos.

This is accomplished by making Git commands operate on relative pathspecs where we can. In case of migrations, absolute pathspecs (:/ prefix) had to be used, because the file name comes from git diff output.

Copy link
Collaborator

@runephilosof runephilosof left a comment

Choose a reason for hiding this comment

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

Looks good to me.
I having tried executing it, just read the code.

@zyla zyla force-pushed the rails-in-subdirectory branch from ad8714f to 98f9a99 Compare May 26, 2022 10:17
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.

2 participants