Branch: refs/heads/hooks
  Home:   https://github.com/STEllAR-GROUP/hpx
  Commit: 09792e6175fd657471f16ec68431297ee90fd6e7
      
https://github.com/STEllAR-GROUP/hpx/commit/09792e6175fd657471f16ec68431297ee90fd6e7
  Author: John Biddiscombe <[email protected]>
  Date:   2021-01-30 (Sat, 30 Jan 2021)

  Changed paths:
    M tools/pre-commit

  Log Message:
  -----------
  Fix path problem in pre-commit hook, add summary commit line

To use this file execute
cp tools/pre-commit .git/hooks/pre-commit

The pre-commit hook failed to work properly if a file in the
root dir was changed as the relative path was passed an empty
string. Fix that by quoting the path.

Add an extra line to the output to summarize the file changes
into a new commit line so that after fixing format errors
it is easy to commit the fixed files.


_______________________________________________
hpx-commits mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-commits

Reply via email to