Would need to adapt some triggers to no-op if they detect that CAPT_FILES_CHANGED is empty. Otherwise a command like mdl $CAPT_FILES_CHANGED is naturally going to sit and wait for stdin.
So could just abort if any know git-hook arrays are invoked with no staged files.
Would need to adapt some triggers to no-op if they detect that
CAPT_FILES_CHANGED
is empty. Otherwise a command likemdl $CAPT_FILES_CHANGED
is naturally going to sit and wait for stdin.So could just abort if any know git-hook arrays are invoked with no staged files.