Commit Graph

9 Commits

Author SHA1 Message Date
Alex Dergachev
a3142b59d8 Minor cleanup 2014-12-12 22:55:49 +00:00
Alex Dergachev
aee9f0eccd Only call add_known_host() if clone_protocol_ssh? 2014-12-12 22:55:27 +00:00
Alex Dergachev
f006709f64 Fix git fetch compatibility with git <1.9; fixes #9
Git 1.8 and 1.7 will treat `git fetch --all --tags` as `git fetch
--tags`, instead of `git fetch --all`. See github issue.
2014-12-12 22:02:50 +00:00
Alex Dergachev
547e7e9cf0 Avoid repoContr#show 404 if "Fetch changesets automatically"; fixes #6 2014-12-08 22:23:05 +00:00
Alex Dergachev
2254155de8 Stop using insecure shell interpolation, fixes #5 2014-12-05 21:54:29 +00:00
Alex Dergachev
81a6fe6b02 Sanitize auto-generated repo identifier; refs #4
Redmine repo identifiers can't have any characters except:
/[a-z0-9_-]/

We scan for this and turn everything else into a '-'
2014-12-03 22:50:37 +00:00
Alex Dergachev
3a7de96736 Change 'git -C PATH' to 'git --git-dir'; fixes #2
For git 1.7 compat. 'git -C' was introduced in 1.8.5
2014-12-03 22:20:06 +00:00
Alex Dergachev
01ac79a899 Vasi code review 2014-11-28 21:35:33 +00:00
Alex Dergachev
0f35ecd942 Renamed GitFetch to GitRemove 2014-11-27 21:07:35 +00:00