diff options
Diffstat (limited to 'git/index/fun.py')
| -rw-r--r-- | git/index/fun.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/fun.py b/git/index/fun.py index c6337909..e92e8e38 100644 --- a/git/index/fun.py +++ b/git/index/fun.py @@ -82,7 +82,7 @@ def run_commit_hook(name, index, *args):                                 close_fds=is_posix,                                 creationflags=PROC_CREATIONFLAGS,)      except Exception as ex: -        raise HookExecutionError(hp, ex) +        raise HookExecutionError(hp, ex) from ex      else:          stdout = []          stderr = []  | 
