Support more Git hooks

Open
#261 21 comments 6 reactions 1 assignee View on GitHub

@exactly-one-kas is already working on this.

Since Sep 6, 2022.

Assessment

This issue has not been assessed yet.

Description

enhancement

I am running Gittyup v1.1.2 on Ubuntu 20.04 via flatpak.

Expected behaviour:
In a Git repo with executable files at .git/hooks/pre-commit and .git/hooks/post-commit, committing some changes should run those two scripts immediately before and after the commit, respectively.

Actual behaviour:
The commit succeeds but the two files do not execute.

I'm afraid I don't know enough about these things to know if

  1. this is a security limitation of flatpaks and can only be solved by installing some other way;
  2. this can be solved by editing the app permissions;
  3. this is a bug in the code;
  4. this would be an enhancement.

I have not tested whether the other Git hooks are triggered (by push, receive, etc.).

Dominant language
C++
Stars
2.3k
Forks
171
Avg merge
3d 19h
Merged PRs (30d)
10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Murmele/Gittyup

All issues in Murmele/Gittyup

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.