xaizek / dit (License: GPLv3) (since 2018-12-07)
Command-line task keeper that remembers all old values and is meant to combine several orthogonal features to be rather flexible in managing items.
Commit 7a4f8f87d4f38373b720128160ad3e6b795d0b79

Build with all available threads in pre-commit
Instead of hard-coding number of threads.
Author: xaizek
Author date (UTC): 2026-06-17 12:57
Committer name: xaizek
Committer date (UTC): 2026-06-17 12:57
Parent(s): a95aa6fd5c2ddee613d78fc7e602ca2f9c5818ef
Signing key: 99DC5E4DB05F6BE2
Tree: 403271be97f532bab01e5a3d7eed708573501b3b
File Lines added Lines deleted
scripts/pre-commit 1 1
File scripts/pre-commit changed (mode: 100755) (index 200ed6b..b510081)
... ... if ! git diff --quiet HEAD; then
95 95 # run build using staged changes only # run build using staged changes only
96 96 # use release build as with its optimization level compiler is able to issue # use release build as with its optimization level compiler is able to issue
97 97 # more warnings # more warnings
98 nice ionice make --jobs 6 check release
98 nice ionice make --jobs `$(nproc)` check release
99 99 RESULT="$?" RESULT="$?"
100 100 else else
101 101 RESULT="0" RESULT="0"
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master