From 6480c1913a9853176fe527079680242dbf4d40a4 Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Thu, 23 Oct 2014 20:16:36 +0200 Subject: [PATCH] vcsh.1.ronn: Make the warning even more scary --- doc/vcsh.1.ronn | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/vcsh.1.ronn b/doc/vcsh.1.ronn index ebc9896..4138c23 100644 --- a/doc/vcsh.1.ronn +++ b/doc/vcsh.1.ronn @@ -261,9 +261,16 @@ locations are <$XDG_CONFIG_HOME/vcsh/overlays-available> and <$XDG_CONFIG_HOME/vcsh/overlays-enabled>. Overlays follow the same rules as hooks and you are free to overwrite any -and all functions. As the overlays will be sourced and you are replacing -arbitrary functions, any and all features may stop working, or you may even -lose data. You have been warned. +and all functions. Same as hooks, you can use global or repository-specific +overlays by using either <$VCSH_OVERLAY_D/$VCSH_COMMAND> or +<$VCSH_OVERLAY_D/$VCSH_REPO_NAME.$VCSH_COMMAND>. + +Please note that nothing stops you from, e.g. overwriting `status()` in +<$VCSH_OVERLAY_D/commit>. As the overlays will be sourced and you are +replacing arbitrary functions, any and all features may stop working, or you +may even lose data. + +You have been warned. ## DETAILED HOWTO AND FURTHER READING -- 2.39.5