Skip to content
Snippets Groups Projects
Commit 269dc7e5 authored by nfontrod's avatar nfontrod
Browse files

src/create_hooks.rs: fix hoox post-checkout

parent f0996cde
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,7 @@ pub fn create_hooks(compression: &str, mode: &str) { ...@@ -119,7 +119,7 @@ pub fn create_hooks(compression: &str, mode: &str) {
original_commit=${{arr[5]}} \n\ original_commit=${{arr[5]}} \n\
target_commit=${{arr[7]}} \n\ target_commit=${{arr[7]}} \n\
\n\ \n\
if [ \"${{original_commit}}\" != \"${{target_commit}}\" ]; then \n\ if [ \"${{original_commit}}\" != \"${{target_commit}}\" ]; then
git -c core.hooksPath=/dev/null co ${{original_commit}} && gblk pre-co && git -c core.hooksPath=/dev/null checkout ${{target_commit}} && gblk checkout --mode {} \n\ git -c core.hooksPath=/dev/null co ${{original_commit}} && gblk pre-co && git -c core.hooksPath=/dev/null checkout ${{target_commit}} && gblk checkout --mode {} \n\
fi \n\ fi \n\
", mode); ", mode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment