Skip to content

Commit

Permalink
add parameter fot tag list size in config file #92
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrille Hemidy committed Jan 28, 2013
1 parent f01f581 commit da9a40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions conf/twgit-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ TWGIT_DEFAULT_NB_COMMITTERS='3'
TWGIT_EMAIL_DOMAIN_NAME='' # e.g. twenga.com

TWGIT_MAX_RETRIEVE_TAGS_NOT_MERGED=3
TWGIT_MAX_TAG_LIST_TO_SHOW=5

TWGIT_FEATURE_SUBJECT_CONNECTOR='' # in {'', 'github', 'redmine'}
TWGIT_FEATURE_SUBJECT_CONNECTOR_PATH="$TWGIT_INC_DIR/connectors/feature_subject_%s.sh" # où %s est un $TWGIT_FEATURE_SUBJECT_CONNECTOR
Expand Down
2 changes: 1 addition & 1 deletion inc/twgit_tag.inc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function cmd_list () {
displayTag "$tag_fullname"
echo
else
local max='5'
local max="$TWGIT_MAX_TAG_LIST_TO_SHOW"
local tags=$(get_all_tags $max)
CUI_displayMsg help "List $max last tags:"
if [ -z "$tags" ]; then
Expand Down

0 comments on commit da9a40e

Please sign in to comment.