Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tag: change default of `pager.tag` to "on"
[gitweb.git]
/
builtin
/
tag.c
diff --git
a/builtin/tag.c
b/builtin/tag.c
index 01154ea8dcca869ed635eb433d5afe879b8e883c..ea83df5e13eac3a2f9c71dd187af8b405e742a48 100644
(file)
--- a/
builtin/tag.c
+++ b/
builtin/tag.c
@@
-461,6
+461,9
@@
int cmd_tag(int argc, const char **argv, const char *prefix)
cmdmode = 'l';
}
+ if (cmdmode == 'l')
+ setup_auto_pager("tag", 1);
+
if ((create_tag_object || force) && (cmdmode != 0))
usage_with_options(git_tag_usage, options);