puppet_vcsrepo.git
6 years agoMerge pull request #152 from petems/patch-1
Ashley Penney [Thu, 5 Jun 2014 17:43:55 +0000 (13:43 -0400)]
Merge pull request #152 from petems/patch-1

Update .gitignore

6 years agoMerge pull request #155 from johnduarte/remove_beaker_gemfile
Travis Fields [Wed, 4 Jun 2014 22:59:45 +0000 (15:59 -0700)]
Merge pull request #155 from johnduarte/remove_beaker_gemfile

Remove beaker from Gemfile

6 years agoRemove beaker from Gemfile
John Duarte [Wed, 4 Jun 2014 22:43:09 +0000 (15:43 -0700)]
Remove beaker from Gemfile

Having both `beaker` and `beaker-rspec` in the Gemfile results
in a dual inclusion of `beaker` as a dependency resulting in
version 2.0.0 of `beaker-rspec` being installed.

The tests for vcsrepo require the `BEAKER_setfile` ENV var, which
is only available in `beaker-rspec` 2.2.0 and above. Removing
`beaker` allows the latest version of `beaker-rspec` to be
installed, thus satisfying this requirement.

6 years agoMerge pull request #154 from mhaskel/1.0.0-prep
Ashley Penney [Wed, 4 Jun 2014 18:43:06 +0000 (14:43 -0400)]
Merge pull request #154 from mhaskel/1.0.0-prep

1.0.0 prep

6 years agoUpdate changelog and metadata for 1.0.0 release.
Morgan Haskel [Wed, 4 Jun 2014 18:40:37 +0000 (14:40 -0400)]
Update changelog and metadata for 1.0.0 release.

6 years agoMerge pull request #143 from mhaskel/1.0.x
Morgan Haskel [Wed, 4 Jun 2014 17:32:00 +0000 (13:32 -0400)]
Merge pull request #143 from mhaskel/1.0.x

Updated modulefile and added metadata.json for 1.0.0 release.

6 years agoUpdated modulefile and added metadata.json for 1.0.0 release.
Morgan Haskel [Mon, 19 May 2014 18:47:11 +0000 (14:47 -0400)]
Updated modulefile and added metadata.json for 1.0.0 release.

Supported OS list should be checked in metadata.  CHANGELOG still
needs to be updated for 1.0.0 release.

6 years ago(MODULES-1014) Adding noop mode option
Peter Souter [Mon, 2 Jun 2014 22:03:19 +0000 (23:03 +0100)]
(MODULES-1014) Adding noop mode option

6 years agoUpdate .gitignore
Peter Souter [Mon, 2 Jun 2014 21:51:31 +0000 (22:51 +0100)]
Update .gitignore

Ignore .vagrant folder for Beaker

6 years agoMerge pull request #150 from johnduarte/rake_keyfile
Hunter Haugen [Wed, 28 May 2014 17:30:18 +0000 (10:30 -0700)]
Merge pull request #150 from johnduarte/rake_keyfile

Add optional keyfile argument to rake tasks

6 years agoFix logic to validate keyfile
John Duarte [Wed, 28 May 2014 00:18:37 +0000 (17:18 -0700)]
Fix logic to validate keyfile

6 years agoMerge pull request #151 from hunner/fix_trusty
Ashley Penney [Tue, 27 May 2014 20:02:58 +0000 (16:02 -0400)]
Merge pull request #151 from hunner/fix_trusty

Update tests for ubuntu 14.04

6 years agoUpdate tests for ubuntu 14.04
Hunter Haugen [Tue, 27 May 2014 19:41:31 +0000 (12:41 -0700)]
Update tests for ubuntu 14.04

In ubuntu 14.04 git 1.9.1 is the default version, and 1.9+ fatally fail
if the user.email and user.name are not set (previously it would just
warn). This commit sets those up so the tests will actually run.

6 years agoAdd optional keyfile argument to rake tasks
John Duarte [Tue, 27 May 2014 18:04:40 +0000 (11:04 -0700)]
Add optional keyfile argument to rake tasks

This addition walks over any extra arguments provided to the
rake task. If the file is a key file, it is used to set the
BEAKER_keyfile ENVIRONMENT variable for beaker-rspec and/or
the `--keyfile` command line argument for beaker as needed.

Example:

BEAKER_setfile=../vcenterhost.cfg rake beaker:rspec:test[foo,pe,'/home/myuser/.ssh/id_rsa-secret']

6 years agoUpdate Modulefile to use hyphen in name, not slash
Luke Blaney [Tue, 27 May 2014 12:46:49 +0000 (13:46 +0100)]
Update Modulefile to use hyphen in name, not slash

For details about the difference, see: http://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html#another-note-on-module-names

6 years agoMerge pull request #148 from johnduarte/bare_with_revision_should_fail
Hunter Haugen [Thu, 22 May 2014 20:03:59 +0000 (13:03 -0700)]
Merge pull request #148 from johnduarte/bare_with_revision_should_fail

Set git bare with revision test to fail

6 years agoMerge pull request #147 from johnduarte/beaker_raketasks
Justin Stoller [Thu, 22 May 2014 18:23:45 +0000 (11:23 -0700)]
Merge pull request #147 from johnduarte/beaker_raketasks

Adjust Rake tasks for beaker testing

6 years agoSet git bare with revision test to fail
John Duarte [Thu, 22 May 2014 15:07:57 +0000 (08:07 -0700)]
Set git bare with revision test to fail

When the revision attribute is defined in conjunction with the bare
attribute when using the git provider, the repo should fail to be
written to disk.

See: FM-1361

6 years agoAdjust Rake tasks for beaker testing
John Duarte [Thu, 22 May 2014 01:25:54 +0000 (18:25 -0700)]
Adjust Rake tasks for beaker testing

Adjust Rake tasks for testing beaker-rspec suite, beaker suite,
and both in combination.

The beaker hosts config file is set via the BEAKER_setfile
environmental variable. The hosts defined within this file
supersede the host past in as an argument, but the argument is
still required. For an arbitrary hosts config file this provides
the following options.

1. Run the beaker-rspec test suite
    BEAKER_setfile=/path/to/my_hosts.cfg rake beaker:rspec:test[foo,pe]

2. Run the beaker test suite
    BEAKER_setfile=/path/to/my_hosts.cfg rake beaker:test[foo,pe]

3. Run both beaker-rspec and beaker test suites
    BEAKER_setfile=/path/to/my_hosts.cfg rake beaker:test:all[foo,pe]

6 years agoMerge pull request #145 from hunner/fix_beaker_tests
John Duarte [Thu, 22 May 2014 01:17:31 +0000 (18:17 -0700)]
Merge pull request #145 from hunner/fix_beaker_tests

Update specs and fix FM-1361

6 years agoUpdate specs and fix FM-1361
Hunter Haugen [Wed, 21 May 2014 01:15:03 +0000 (18:15 -0700)]
Update specs and fix FM-1361

- Add install.rb for pre-suite
- Add catches for failures/changes to manifest application
- Correct root ssh key copying
- Add sleeps for killing processes releasing ports
- Fix FM-1361

6 years agoMerge pull request #146 from daenney/mv-optional-commands
Hunter Haugen [Wed, 21 May 2014 23:03:01 +0000 (16:03 -0700)]
Merge pull request #146 from daenney/mv-optional-commands

Un-optional the non-optional commands.

6 years agoUn-optional the non-optional commands.
Daniele Sluijters [Wed, 21 May 2014 22:16:10 +0000 (00:16 +0200)]
Un-optional the non-optional commands.

6 years agoMerge pull request #144 from johnduarte/move_protocol_tests_to_beaker
Morgan Haskel [Mon, 19 May 2014 19:07:46 +0000 (15:07 -0400)]
Merge pull request #144 from johnduarte/move_protocol_tests_to_beaker

Move protocol tests to beaker suite

6 years agoMove protocol tests to beaker suite
John Duarte [Mon, 19 May 2014 18:53:54 +0000 (11:53 -0700)]
Move protocol tests to beaker suite

The protocol tests are more closely aligned with the rest of the beaker test
suite. The beaker tests have received more vetting, so the setup and teardown
process should be less prone to failure on repeated execution.

6 years agoMerge pull request #135 from johnduarte/add_protocol_acceptance_tests
Ashley Penney [Mon, 19 May 2014 15:09:59 +0000 (08:09 -0700)]
Merge pull request #135 from johnduarte/add_protocol_acceptance_tests

Add acceptance tests for git protocols using clone

6 years agoMerge pull request #137 from johnduarte/git_ensure_latest
Ashley Penney [Mon, 19 May 2014 15:09:43 +0000 (08:09 -0700)]
Merge pull request #137 from johnduarte/git_ensure_latest

Add test for ensure latest with branch specified

6 years agoMerge pull request #141 from johnduarte/beaker_tests
Ashley Penney [Mon, 19 May 2014 15:09:32 +0000 (08:09 -0700)]
Merge pull request #141 from johnduarte/beaker_tests

Add beaker tests to complete test plan

6 years agoMerge pull request #142 from johnduarte/add_vagrant_user
Ashley Penney [Mon, 19 May 2014 15:09:23 +0000 (08:09 -0700)]
Merge pull request #142 from johnduarte/add_vagrant_user

Ensure vagrant user/group for non-vagrant testing

6 years agoMerge pull request #139 from cyberious/FM-1284
Ashley Penney [Mon, 19 May 2014 15:09:13 +0000 (08:09 -0700)]
Merge pull request #139 from cyberious/FM-1284

Fix detached head state

6 years agoEnsure vagrant user/group for non-vagrant testing
John Duarte [Mon, 5 May 2014 20:49:51 +0000 (13:49 -0700)]
Ensure vagrant user/group for non-vagrant testing

These tests assert the vagrant user and group. When testing on non-vagrant systems these tests
will fail. Ensure that the user/group are present in order to allow the tests to pass on
other systems.

6 years agoSkip exec excludes until expectations are defined
John Duarte [Mon, 19 May 2014 00:31:34 +0000 (17:31 -0700)]
Skip exec excludes until expectations are defined

6 years agoSkip HTTP basic auth (see FM-1331)
John Duarte [Mon, 19 May 2014 00:30:33 +0000 (17:30 -0700)]
Skip HTTP basic auth (see FM-1331)

6 years agoFix git daemon call
John Duarte [Mon, 19 May 2014 00:26:20 +0000 (17:26 -0700)]
Fix git daemon call

6 years agoFix exec for clone with excludes test
John Duarte [Fri, 16 May 2014 22:00:18 +0000 (15:00 -0700)]
Fix exec for clone with excludes test

6 years agoSkip tests for unsupported features
John Duarte [Fri, 16 May 2014 21:59:19 +0000 (14:59 -0700)]
Skip tests for unsupported features

6 years agoFix calls to ruby
John Duarte [Fri, 16 May 2014 21:58:17 +0000 (14:58 -0700)]
Fix calls to ruby

6 years agoUse sinatra to set up basic auth HTTP server
John Duarte [Thu, 15 May 2014 20:21:13 +0000 (13:21 -0700)]
Use sinatra to set up basic auth HTTP server

6 years agoAdd conditional ruby path based on pe
John Duarte [Thu, 15 May 2014 18:43:29 +0000 (11:43 -0700)]
Add conditional ruby path based on pe

6 years agoAdd beaker tests for git basic auth
John Duarte [Mon, 12 May 2014 21:42:56 +0000 (14:42 -0700)]
Add beaker tests for git basic auth

6 years agoFix exec test for clone
John Duarte [Mon, 12 May 2014 18:27:37 +0000 (11:27 -0700)]
Fix exec test for clone

6 years agoFix exec test for compression
John Duarte [Mon, 12 May 2014 18:24:45 +0000 (11:24 -0700)]
Fix exec test for compression

6 years agoFix exec test for shallow clone
John Duarte [Mon, 12 May 2014 18:24:16 +0000 (11:24 -0700)]
Fix exec test for shallow clone

6 years agoFix root path depth for negative shallow tests
John Duarte [Mon, 12 May 2014 18:02:15 +0000 (11:02 -0700)]
Fix root path depth for negative shallow tests

6 years agoAdd tests git using ssh scp syntax
John Duarte [Mon, 12 May 2014 17:39:37 +0000 (10:39 -0700)]
Add tests git using ssh scp syntax

6 years agoUpdate expectations for shallow clone
John Duarte [Sun, 11 May 2014 19:00:21 +0000 (12:00 -0700)]
Update expectations for shallow clone

6 years agoSet neg bare test to expect bare repo
John Duarte [Sun, 11 May 2014 15:07:10 +0000 (08:07 -0700)]
Set neg bare test to expect bare repo

6 years agoFix typos in verify steps for revision tests
John Duarte [Sun, 11 May 2014 04:40:19 +0000 (21:40 -0700)]
Fix typos in verify steps for revision tests

6 years agoMove git tests into sub-directory
John Duarte [Sun, 11 May 2014 04:13:03 +0000 (21:13 -0700)]
Move git tests into sub-directory

6 years agoAdd beaker tests for git checkout for user
John Duarte [Sun, 11 May 2014 00:48:54 +0000 (17:48 -0700)]
Add beaker tests for git checkout for user

6 years agoAdd beaker tests for git checkout for specified tag
John Duarte [Sun, 11 May 2014 00:32:57 +0000 (17:32 -0700)]
Add beaker tests for git checkout for specified tag

6 years agoAdd beaker tests for git shallow clone
John Duarte [Sun, 11 May 2014 00:19:58 +0000 (17:19 -0700)]
Add beaker tests for git shallow clone

6 years agoAdd beaker tests for git checkout for specified revision
John Duarte [Sat, 10 May 2014 23:55:09 +0000 (16:55 -0700)]
Add beaker tests for git checkout for specified revision

6 years agoAdd beaker tests for git checkout for group
John Duarte [Sat, 10 May 2014 17:24:00 +0000 (10:24 -0700)]
Add beaker tests for git checkout for group

6 years agoAdd beaker tests for git compression checkouts
John Duarte [Sat, 10 May 2014 17:12:55 +0000 (10:12 -0700)]
Add beaker tests for git compression checkouts

6 years agoAdd beaker test for git branch checkout
John Duarte [Sat, 10 May 2014 17:00:28 +0000 (10:00 -0700)]
Add beaker test for git branch checkout

6 years agoAdd beaker tests for git create
John Duarte [Sat, 10 May 2014 16:36:26 +0000 (09:36 -0700)]
Add beaker tests for git create

6 years agoAdd beaker tests for git clone
John Duarte [Fri, 9 May 2014 18:13:40 +0000 (11:13 -0700)]
Add beaker tests for git clone

6 years agoUse on(host, '') rather than host.execute('') syntax
John Duarte [Thu, 8 May 2014 20:40:44 +0000 (13:40 -0700)]
Use on(host, '') rather than host.execute('') syntax

6 years agoChange apply syntax to apply_manifest_on
John Duarte [Thu, 8 May 2014 18:55:58 +0000 (11:55 -0700)]
Change apply syntax to apply_manifest_on

6 years agoAdd test for git clone using ssh
John Duarte [Wed, 7 May 2014 00:50:06 +0000 (17:50 -0700)]
Add test for git clone using ssh

6 years agoAdd test for git clone using https
John Duarte [Tue, 6 May 2014 18:11:25 +0000 (11:11 -0700)]
Add test for git clone using https

6 years agoAdd test for git clone using http
John Duarte [Tue, 6 May 2014 15:55:51 +0000 (08:55 -0700)]
Add test for git clone using http

6 years agoAdd managehome to testuser
John Duarte [Tue, 6 May 2014 15:54:48 +0000 (08:54 -0700)]
Add managehome to testuser

In order to make sure that the home directory for the test user is
created and destroyed, add managehome to the setup and teardown
manifests for the testuser.

6 years agoMove git daemon setup/teardown into context block
John Duarte [Tue, 6 May 2014 15:52:20 +0000 (08:52 -0700)]
Move git daemon setup/teardown into context block

In order to ensure that the git daemon is running for the proper test, the setup
and teardown calls for git daemon hav been moved into the context block for
testing the git protocol.

6 years agoAdd test for git clone using file path
John Duarte [Tue, 6 May 2014 04:04:24 +0000 (21:04 -0700)]
Add test for git clone using file path

6 years agoAdd test for clone using git protocol
John Duarte [Tue, 6 May 2014 00:54:22 +0000 (17:54 -0700)]
Add test for clone using git protocol

6 years agoAdd spec for clone protocols skeleton
John Duarte [Mon, 5 May 2014 21:02:51 +0000 (14:02 -0700)]
Add spec for clone protocols skeleton

The git_clone_protocols_spec.rb will be used to enumerate over the
available protocols for git to use to clone to disk. The initial
skeleton includes the 'file://' protocol test as well as support
key files to be used later.

6 years agoAdded multiline parsing tests for branch -a
Travis Fields [Fri, 16 May 2014 23:30:58 +0000 (16:30 -0700)]
Added multiline parsing tests for branch -a

6 years agoMerge pull request #140 from cyberious/RakeTask
Morgan Haskel [Fri, 16 May 2014 22:23:33 +0000 (18:23 -0400)]
Merge pull request #140 from cyberious/RakeTask

Add rake tasks to test both beaker and beaker-rspec in one go

6 years agoAdd rake tasks to test both beaker and beaker-rspec in one go
Travis Fields [Fri, 16 May 2014 19:37:39 +0000 (12:37 -0700)]
Add rake tasks to test both beaker and beaker-rspec in one go

7 years agoFix spec tests
Travis Fields [Fri, 16 May 2014 05:32:47 +0000 (22:32 -0700)]
Fix spec tests

7 years agoupdate to use -a and desired for hard reset
Travis Fields [Fri, 16 May 2014 05:00:14 +0000 (22:00 -0700)]
update to use -a and desired for hard reset

7 years agoFix detached head state
Travis Fields [Thu, 15 May 2014 23:47:24 +0000 (16:47 -0700)]
Fix detached head state

7 years agoMerge pull request #138 from cyberious/FM-1284
Ashley Penney [Tue, 13 May 2014 21:29:28 +0000 (17:29 -0400)]
Merge pull request #138 from cyberious/FM-1284

Fix issue where force=>true was not destroying repository then recreatin...

7 years agoFix issue where force=>true was not destroying repository then recreating
Travis Fields [Tue, 13 May 2014 18:27:02 +0000 (11:27 -0700)]
Fix issue where force=>true was not destroying repository then recreating

7 years agoAdd test for ensure latest with branch specified
John Duarte [Mon, 12 May 2014 21:58:35 +0000 (14:58 -0700)]
Add test for ensure latest with branch specified

7 years agoUse on(host, '') rather than host.execute('') syntax
John Duarte [Thu, 8 May 2014 20:40:44 +0000 (13:40 -0700)]
Use on(host, '') rather than host.execute('') syntax

7 years agoChange apply syntax to apply_manifest_on
John Duarte [Thu, 8 May 2014 18:55:58 +0000 (11:55 -0700)]
Change apply syntax to apply_manifest_on

7 years agoAdd acceptance tests for git protocols using clone
John Duarte [Mon, 5 May 2014 21:02:51 +0000 (14:02 -0700)]
Add acceptance tests for git protocols using clone

The git_clone_protocols_spec.rb will be used to enumerate over the
available protocols for git to use to clone to disk. Support
key files are also included for https/ssl use.

Protocols tested

    * file protocol (raw filepath)
    * file protocol (file://)
    * git protocol (git://)
    * http protocol (http://)
    * https protocol (https://)
    * ssh protocol (ssh://user@host)

TODO: Currently, the ssl cert is not added to the CA on the host.
This causes the git clone to fail because the cert is not trusted
and the client does not proceed with a non-trusted ssl connection.

7 years agoMerge pull request #120 from huandu/master
Ashley Penney [Thu, 3 Apr 2014 17:58:21 +0000 (13:58 -0400)]
Merge pull request #120 from huandu/master

Use `git rev-parse` to get tag canonical revision

7 years agoMerge pull request #121 from fkrull/master
Ashley Penney [Thu, 3 Apr 2014 17:57:48 +0000 (13:57 -0400)]
Merge pull request #121 from fkrull/master

Only add ssh options to commands that actually talk to the network.

7 years agoMerge pull request #131 from igalic/fix-tabbing
Ashley Penney [Thu, 3 Apr 2014 16:17:41 +0000 (12:17 -0400)]
Merge pull request #131 from igalic/fix-tabbing

fix tabbing in vcsrepo test

7 years agofix tabbing in vcsrepo test
Igor Galić [Thu, 3 Apr 2014 12:28:33 +0000 (14:28 +0200)]
fix tabbing in vcsrepo test

7 years agoMerge pull request #130 from Phil0xF7/add_beaker-rspec_tests
Hunter Haugen [Wed, 2 Apr 2014 22:52:51 +0000 (15:52 -0700)]
Merge pull request #130 from Phil0xF7/add_beaker-rspec_tests

add beaker-rspec support

7 years agoadd beaker-rspec support
Phil Pham [Fri, 14 Feb 2014 19:16:15 +0000 (11:16 -0800)]
add beaker-rspec support

This adds support for beaker-rspec as well as basic test coverage for git

7 years agoMerge pull request #108 from sodabrew/bzr_set_ownership
Aaron Stone [Mon, 31 Mar 2014 18:10:43 +0000 (11:10 -0700)]
Merge pull request #108 from sodabrew/bzr_set_ownership

Call set_ownership from the bzr provider

7 years agoCall set_ownership from the bzr provider
Aaron Stone [Tue, 3 Dec 2013 07:30:51 +0000 (01:30 -0600)]
Call set_ownership from the bzr provider

7 years agoOnly add ssh options to commands that actually talk to the network.
Felix Krull [Fri, 14 Feb 2014 21:12:42 +0000 (22:12 +0100)]
Only add ssh options to commands that actually talk to the network.

At least in Mercurial 2.8.2, --ssh seems to be a command-specific parameter in
contrast to a global one. As a result, local commands error when seeing a --ssh
parameter. This change passes --ssh only for commands that actually talk to the
network ('incoming', 'pull' and 'clone' here).

7 years agouse `git rev-parse` to get tag canonical revision.
Huan Du [Wed, 12 Feb 2014 14:40:56 +0000 (22:40 +0800)]
use `git rev-parse` to get tag canonical revision.

7 years agoMerge pull request #105 from mcanevet/no_su
Ashley Penney [Fri, 24 Jan 2014 13:52:13 +0000 (05:52 -0800)]
Merge pull request #105 from mcanevet/no_su

Don't 'su' if passed user is current user

7 years agoMerge pull request #117 from jonoterc/fix_svnlook
Aaron Stone [Tue, 14 Jan 2014 19:03:45 +0000 (11:03 -0800)]
Merge pull request #117 from jonoterc/fix_svnlook

fix svnlook behavior with plain directories

7 years agofix svnlook behavior with plain directories
jonoterc [Tue, 14 Jan 2014 17:31:26 +0000 (12:31 -0500)]
fix svnlook behavior with plain directories

svnlook expects a sub-directory within a repository called "format"; when using svnlook
within a non-repository directory this causes it to throw an error.  Adding a test for
that directory before executing svnlook.

7 years agoMerge pull request #115 from instruct-br/use_remote_name_when_cloning_a_repo
Ashley Penney [Sat, 11 Jan 2014 18:12:50 +0000 (10:12 -0800)]
Merge pull request #115 from instruct-br/use_remote_name_when_cloning_a_repo

git: actually use the remote parameter

7 years agogit: actually use the remote parameter
Miguel Di Ciurcio Filho [Sat, 11 Jan 2014 17:25:28 +0000 (15:25 -0200)]
git: actually use the remote parameter

When using the following sample, the provider does not use the value of remote
when cloning a repository:

vcsrepo {'/path/to/repo':
   ensure => 'present',
   provider => 'git',
   remote => 'test',
   source => 'git@somerepo:repo.git',
}

$ git remote
origin

This commit makes sure that the new repository has a remote with the
supplied value.

Closes #MODULES-430

7 years agoMerge pull request #114 from freyes/add-git-shallow-clone
Aaron Stone [Tue, 7 Jan 2014 19:17:49 +0000 (11:17 -0800)]
Merge pull request #114 from freyes/add-git-shallow-clone

Add the option to shallow clones with git

7 years agoAdd the option to shallow clones with git
Felipe Reyes [Thu, 2 Jan 2014 21:13:40 +0000 (18:13 -0300)]
Add the option to shallow clones with git

The new parameter used to indicate that you want a shallow clone is `:depth`

7 years agoTemporary workaround for broken Rubygems on Travis
Aaron Stone [Tue, 7 Jan 2014 18:35:17 +0000 (10:35 -0800)]
Temporary workaround for broken Rubygems on Travis

7 years agoMerge pull request #109 from mikegerwitz/master
Aaron Stone [Thu, 5 Dec 2013 05:05:03 +0000 (21:05 -0800)]
Merge pull request #109 from mikegerwitz/master

Bug fix: Git provider on_branch? retains trailing newline

7 years agoStripping git on_branch? return value; contains trailing newline
Mike Gerwitz [Tue, 3 Dec 2013 14:54:21 +0000 (09:54 -0500)]
Stripping git on_branch? return value; contains trailing newline

This commit also contains git provider `latest' method formatting changes;
squashed by request.