This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 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> {
351351 Ok ( template)
352352}
353353
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
355355fn install_git_hook_maybe ( config : & Config ) -> io:: Result < ( ) > {
356356 let git = t ! ( config. git( ) . args( & [ "rev-parse" , "--git-common-dir" ] ) . output( ) . map( |output| {
357357 assert!( output. status. success( ) , "failed to run `git`" ) ;
@@ -367,7 +367,7 @@ fn install_git_hook_maybe(config: &Config) -> io::Result<()> {
367367 println ! ( ) ;
368368 println ! (
369369 "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
371371pushing your code to ensure your code is up to par. If you decide later that this behavior is
372372undesirable, simply delete the `pre-push` file from .git/hooks."
373373 ) ;
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22#
3- # Call `tidy --bless ` before git push
3+ # Call `tidy` before git push
44# Copy this script to .git/hooks to activate,
55# and remove it from .git/hooks to deactivate.
66#
You can’t perform that action at this time.
0 commit comments