summaryrefslogtreecommitdiffstats
path: root/gitolite/dotfiles/local (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2024-03-11gitolite: Force blank description for newly created repositoriesMalfurious1-0/+6
A gitolite POST_CREATE trigger is added to initialize the description file in new repos. This prevents the "Unnamed repository; edit this file ..." string from being used by default. This affects new repositories, existing projects will remain as is. Signed-off-by: Malfurious <m@lfurio.us>
2024-03-11gitolite: Fix bug in post git trigger branch detectionMalfurious1-1/+1
The previous version fails to handle nested branch names containing slashes. For example, if pushing a single new branch named `feat/example`, the script would set HEAD to `feat` and remain dangling. Signed-off-by: Malfurious <m@lfurio.us>
2023-09-16gitolite: Fix bug in default branch push triggerMalfurious1-2/+1
Since it is now allowed to remove the remote default branch, this script needs to handle cases where there are no branches following a push. In this case, the `git symbolic-ref` command will fail, and we return our standard warning for when HEAD is dangling. Signed-off-by: Malfurious <m@lfurio.us>
2023-09-15gitolite: Consolidate config files into a single directoryMalfurious1-0/+18
The repository is being reworked to decouple its roles as normalmode source and gitolite-admin config. The gitolite-admin repository will be entirely separate. So there is no need to keep the conf or local directories around where they are at. Signed-off-by: Malfurious <m@lfurio.us>