mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 00:50:16 +01:00
Ignore commits for tree wide changes
This commit is contained in:
parent
7d64c232dc
commit
0f9bdf1d1c
4 changed files with 35 additions and 1 deletions
8
.git-blame-ignore-revs
Normal file
8
.git-blame-ignore-revs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Fix spelling issues with codespell check
|
||||
bab81e5e44a13275b93a3e08ace2c2b7a00bef33
|
||||
|
||||
# Reformat python code style with black
|
||||
17e5903670801ec8a38ecb2808e43d28706a10b0
|
||||
|
||||
# Fix trailing white space and end of file
|
||||
2678cb00d4cb5426c4e5b714338065d9d3323f7b
|
||||
2
.gitconfig
Normal file
2
.gitconfig
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[blame]
|
||||
ignoreRevsFile = .git-blame-ignore-revs
|
||||
16
HACKING.md
16
HACKING.md
|
|
@ -62,6 +62,15 @@
|
|||
- see also
|
||||
<http://www.kernel.org/pub/software/scm/git/docs/>
|
||||
|
||||
## Set up Git environment
|
||||
|
||||
Run the following command to include the upower Git configurations.
|
||||
|
||||
```bash
|
||||
cd contrib
|
||||
./setup
|
||||
```
|
||||
|
||||
## Committing code
|
||||
|
||||
- Commit messages should be of the form (the five lines between the
|
||||
|
|
@ -106,5 +115,10 @@
|
|||
|
||||
## Testing
|
||||
|
||||
Under Linux, with the umockdev package installed, you can run `ninja test`
|
||||
Under Linux, with the umockdev package installed, you can run
|
||||
|
||||
```console
|
||||
ninja test
|
||||
```
|
||||
|
||||
in the root build directory to run an automated test suite.
|
||||
|
|
|
|||
10
contrib/setup
Executable file
10
contrib/setup
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env -S bash -e
|
||||
#set up local repository
|
||||
|
||||
setup_git()
|
||||
{
|
||||
echo "Configuring git environment"
|
||||
git config include.path ../.gitconfig
|
||||
}
|
||||
|
||||
setup_git
|
||||
Loading…
Add table
Reference in a new issue