PowerShell not working in git hooks
By ...@vertigion.com on March 25, 2014 18:36 (imported from Google Code)
What steps will reproduce the problem?
- Create a pre-commit hook to use posh to check signature (or do anything): https://gist.github.com/VertigoRay/9768169
What is the expected output? What do you see instead?
Expected:
- C:\Temp\test.txt to be created.
- signature to be evaluated and exit code thrown appropriately
Actual: - Commands sent to POSH don't actually run.
- Exit code from POSH is always 0
What version of TortoiseGit and msysgit are you using? On
what operating system?
TortoiseGit: 1.8.7.0 x64
msysgit: Git-1.9.0-preview20140217
Please provide any additional information below.
Posted to StackExchange for assistance. Details are there:
http://stackoverflow.com/questions/22621818/windows-git-pre-commit-check-file-signature