Skip to content

Commit 0c79233

Browse files
committed
Add missing keys to sample gitconfig
- stgit.pick.expose-format - stgit.refreshsubmodules Signed-off-by: Peter Grayson <[email protected]>
1 parent 8e8ff3f commit 0c79233

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
- Repair `stg mail` with both `-a` and `-e` options (#58)
3535
- Remove empty short-opt for `--no-submodules` of `stg refresh`
3636
- Repair build.py for Python 2 with explicit `flush()`
37+
- `stgit.refreshsubmodules` added to sample gitconfig
3738

3839
### Internal
3940
- Update docs build system from upstream Git docs

examples/gitconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@
8585
# Behave as if the --keep option is always passed
8686
#autokeep = no
8787

88+
# Include submodules by default when refreshing patch contents.
89+
#refreshsubmodules = no
90+
91+
[stgit "pick"]
92+
# The the format applied to the commit message when using
93+
# "stg pick --expose". See the "PRETTY FORMATS" section of
94+
# git-show(1) for format syntax details.
95+
#expose-format = format:%B%n(imported from commit %H)
96+
8897
[stgit "alias"]
8998
# Command aliases.
9099
#add = git add

stgit/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
('stgit.fetchcmd', ['git fetch']),
3636
('stgit.keepoptimized', ['no']),
3737
('stgit.pager', ['less']),
38+
('stgit.pick.expose-format', ['format:%B%n(imported from commit %H)']),
3839
('stgit.pull-policy', ['pull']),
3940
('stgit.pullcmd', ['git pull']),
4041
('stgit.refreshsubmodules', ['no']),
4142
('stgit.shortnr', ['5']),
4243
('stgit.smtpdelay', ['5']),
4344
('stgit.smtpserver', ['localhost:25']),
44-
('stgit.pick.expose-format', ['format:%B%n(imported from commit %H)']),
4545
]
4646

4747

0 commit comments

Comments
 (0)