aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/git/GitModule.qml
blob: aaa72a90f08bcc48fe24c906dafc33cd9ee1e0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

import QtQuick
import "../.."

// The global git config, in the settings window: set once and left alone.
// The user page's "More git settings" opens it there.
Module {
    id: gm
    name: "git"
    label: "Git config"
    // nf-dev-git, present in Inconsolata Nerd Font.
    icon: ""
    settings: true
    keywords: ["gitconfig", "user", "name", "email", "signingkey", "signing", "gpg",
               "alias", "core", "editor", "pager", "commit", "gpgsign", "init",
               "defaultBranch", "branch", "pull", "push", "fetch", "rebase", "merge",
               "diff", "log", "color", "credential", "lfs", "rerere", "tag", "status",
               "safe", "directory"]

    page: Component {
        Page {
            title: "Git config"
            GitPage { width: parent.width; owner: gm }
        }
    }
}