chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optionally repack the object repository after every pull
[stgit]
/
stgit
/
commands
/
pull.py
diff --git
a/stgit/commands/pull.py
b/stgit/commands/pull.py
index 8f26f4daf346c87e83b377de3a86c5e09e718d8b..227249e768e6dbc2824cd5641f170f5e196427a3 100644
(file)
--- a/
stgit/commands/pull.py
+++ b/
stgit/commands/pull.py
@@
-81,4
+81,9
@@
def func(parser, options, args):
if not options.nopush:
push_patches(applied, options.merged)
+ # maybe tidy up
+ repack = config.get('stgit', 'keepoptimized')
+ if repack == 'yes':
+ git.repack()
+
print_crt_patch()