diff --git a/_reformat-common.bash b/_reformat-common.bash index b129897..4cff1bb 100644 --- a/_reformat-common.bash +++ b/_reformat-common.bash @@ -1,3 +1,7 @@ +function root() { + echo "$(git rev-parse --show-toplevel)" +} + function sniff_file_type() { ff=$1 shift