aboutsummaryrefslogtreecommitdiff
path: root/lib/detectLocalGit.js
AgeCommit message (Collapse)AuthorFilesLines
2015-12-10Merge pull request #85 from addaleax/branch-name-detectionNick Merwin1-1/+2
Accept more valid git branch names
2015-11-06rm unneeded options, bump node in travisAndrii Shumada1-1/+1
2015-04-15Accept more valid git branch namesHauke Henningsen1-1/+2
According to git-check-ref-format(1), branch naming excludes a number of characters, but various non-word characters are definitely allowed. This modifies the `REGEX_BRANCH` detection to match branch names containing some non-word characters, e.g. `features/foo` or `bar-baz`.
2014-02-11Windows compat fixesGerard Escalante1-2/+2
Changed usage of '/' as root dir. Stopped tests from wiping out environment.
2014-01-31Fixing existsSync issues for older versions of nodeJonathan Kingston1-1/+2
2013-11-08Ah, right, ES5 has String#trim(), keep forgetting that…Christophe Porteneuve1-6/+2
2013-11-08Fix step 1: for dev-local uses, properly detect local Git branch and commitChristophe Porteneuve1-0/+30