Gustav Larsson

Retroactive git splitting pattern

I’ve found that I use this little git-pattern quite often.

Full diff

Pure refactor

Actual change

Situation:

This is usually the case when some refactoring was needed, for example inlining/extracting, nesting/un-nesting etc.

Pattern:

This allows me to create easy-to-review pull requests, improving the lives of my reviewers when the development process isn’t linear.