File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ pub fn interactive_path() -> io::Result<Profile> {
351
351
Ok ( template)
352
352
}
353
353
354
- // install a git hook to automatically run tidy --bless , if they want
354
+ // install a git hook to automatically run tidy, if they want
355
355
fn install_git_hook_maybe ( config : & Config ) -> io:: Result < ( ) > {
356
356
let git = t ! ( config. git( ) . args( & [ "rev-parse" , "--git-common-dir" ] ) . output( ) . map( |output| {
357
357
assert!( output. status. success( ) , "failed to run `git`" ) ;
@@ -367,7 +367,7 @@ fn install_git_hook_maybe(config: &Config) -> io::Result<()> {
367
367
println ! ( ) ;
368
368
println ! (
369
369
"Rust's CI will automatically fail if it doesn't pass `tidy`, the internal tool for ensuring code quality.
370
- If you'd like, x.py can install a git hook for you that will automatically run `tidy --bless ` before
370
+ If you'd like, x.py can install a git hook for you that will automatically run `test tidy ` before
371
371
pushing your code to ensure your code is up to par. If you decide later that this behavior is
372
372
undesirable, simply delete the `pre-push` file from .git/hooks."
373
373
) ;
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
#
3
- # Call `tidy --bless ` before git push
3
+ # Call `tidy` before git push
4
4
# Copy this script to .git/hooks to activate,
5
5
# and remove it from .git/hooks to deactivate.
6
6
#
You can’t perform that action at this time.
0 commit comments