-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Rebase: Run post-checkout hook on checkout #1992
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
Rebase: Run post-checkout hook on checkout #1992
Conversation
c34ad5a
to
b532ab4
Compare
I can't currently post the patch to the mailing list, and I doubt this is the right way to deal with the GIT_DIR bug (assuming it's a bug at all). Let's start the review here, and if you accept it, I'll post it upstream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second commit looks like a fixup for the first one, so I'd rather have a single commit. Besides, I think you can avoid a lot of churn by using the -C <cd-to>
option a lot more, and by using read a b c <file
instead of multiple awk
invocations.
* Replace multiple clones and commits by test_commits. * Replace 3 invocations of awk by read. Signed-off-by: Orgad Shaneh <[email protected]>
Signed-off-by: Orgad Shaneh <[email protected]>
b532ab4
to
93f5484
Compare
Very, very nice! |
…out-hook Rebase: Run post-checkout hook on checkout
This PR fixes a regression introduced by switching to the built-in rebase: the
post-checkout
hook was run in the scripted version but not in the built-in version.