pick off .git ending

This commit is contained in:
Jonathan Campbell
2015-01-31 21:36:31 -08:00
parent b38bb7318a
commit 1f8df69d04

View File

@@ -2,6 +2,7 @@
$project = `git config --get remote.origin.url | sed -e 's/\\/\$//' | sed -e 's/^.*\\///'`;
chomp $project;
$poject =~ s/\.git$//;
die if $project eq "";
$branch = `git branch | grep '^\*' | sed -e 's/^\* //'`; chomp $branch;