Commit Graph

17 Commits

Author SHA1 Message Date
risk danger olson
c4874df619 don't pass GIT_TRACE to exec.Command calls in the git package 2016-02-03 12:06:23 -07:00
risk danger olson
9c3307909b try a merge out 2015-11-09 10:46:29 -07:00
Steve Streeting
963d0d456a Add methods for determining the refs that all worktrees are using 2015-10-08 17:41:07 +01:00
Steve Streeting
a9a62fe976 Add utility functions for testing git version 2015-10-08 17:40:38 +01:00
Steve Streeting
5dec48ec94 Rename CurrentRemote() to RemoteForCurrentBranch() for clarity
Also remove ref name from return and add separate method for getting ref
in addition to remote name. Make that method also respect tracking branches
that are not the same name as the local branch (was previously ignoring)
2015-10-06 15:44:03 +01:00
Bhuridech Sudsee
9bf3cff830 Fixed #664 check empty ref of ResolveRef 2015-09-17 23:43:42 +07:00
Steve Streeting
049bb52093 Fix go tests for commit structure changes 2015-08-25 17:14:48 +01:00
Steve Streeting
abf0f93441 Sort refs by name to be able to assert.Equal() consistently
Git may report in different orders depending on circumstances
2015-08-21 16:53:16 +01:00
Steve Streeting
39676192da Make ref resolution return a complete Ref rather than just SHA, & test 2015-08-20 15:36:10 +01:00
Steve Streeting
03be359d2f Remove some unnecessary verbosity 2015-08-20 14:53:39 +01:00
Steve Streeting
c5032d33e9 Test RecentBranches with remote branches 2015-08-20 12:05:44 +01:00
Steve Streeting
7e6e2979dd Store *testing.T in test.Repo to reduce number of args needed to funcs 2015-08-20 10:46:08 +01:00
Steve Streeting
3dd601710c Simplify the test types a bit, already in the test package 2015-08-19 17:33:58 +01:00
Steve Streeting
3510af3166 First test of RecentBranches using new test utils 2015-08-19 17:25:18 +01:00
rubyist
e0bf70a6aa With push using the scanner we don't need link files, and all the associated things 2014-10-20 15:04:32 -04:00
rubyist
17ce00dc09 This should just be called HashObject 2014-09-24 09:58:33 -04:00
rubyist
49c9c5bb8a Provide a git media update command that updates the pre-push hook and migrates upload queue 2014-09-23 17:42:47 -04:00