Skip to content

Commit

Permalink
add postfix / only for types, not values from config
Browse files Browse the repository at this point in the history
  • Loading branch information
xsawyerx committed Nov 15, 2010
1 parent 2b37524 commit 797216e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Git/Flux/Command/init.pm
Expand Up @@ -214,9 +214,7 @@ sub init {
if ( $cmd->exit == 1 or $force ) {
my $default_suggestion = $repo->run(
config => '--get', "gitflux.prefix.$type"
) || $type;

$default_suggestion .= '/';
) || "$type/";

# version tag has its own default suggestion
$type eq 'versiontag' and $default_suggestion = 'v';
Expand Down

0 comments on commit 797216e

Please sign in to comment.