commit-msg hook possible bad behavior with -F <file>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If a commit is invoked with -F <file>, indicating that the commit
message should be read from an existing file, the the
prepare-commit-msg and commit-msg hooks do not operate on <file>. The
first argument to the hook is always <git_repo>/COMMIT_EDITMSG, rather
than <file>.

Am I wrong in this line of thinking?

-Seth



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux