You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beforehand issue trackers could be defined in the repository
configuration only. They were stored in the `.git` directory. As a
consequence each SourceGit user had to configure issue trackers for
himself.
Now additional issue tracker rules are read from an existing
`.issuetracker` file (#1424). An issue tracker configured by a user has
a higher priority than an issue tracker read from `.issuetracker`.
This allows to share issue trackers between team members.
SourceGit does not (yet?) write into the `.issuetracker` file. But
using `git config` allows the user to easily construct issue tracker
rules for the `.issuetracker` file, where even the escaping of the
backslash in '#(\d+)' is done correctly.
A `.issuetracker` file was added to SourceGit. It was created by
executing the following commands in a bash shell, where the current
directory was the repository root:
```bash
cat >.issuetracker <<EOF
# Integration with Issue Tracker
#
# (note that '\' need to be escaped).
EOF
git config set --file .issuetracker issuetracker.GitHub.regex '#(\d+)'
git config set --file .issuetracker issuetracker.GitHub.url \
'https://github.com/sourcegit-scm/sourcegit/issues/$1'
```
0 commit comments