diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2017-01-20 22:55:25 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-01-20 22:55:25 +0000 |
| commit | 4a14260153072e1e0d8e32d9270b30e3acca7c80 (patch) | |
| tree | 112c3a1f75c2fcc8d3e88f1d0c6687de179e3ac3 /git_test.go | |
| parent | b8a9efd21f5ea094976ff2c53c4aec1cf6014876 (diff) | |
| parent | b020c1140a2cb8be18141498a6cab5440409dc24 (diff) | |
Merge pull request #362 from libgit2/cmn/master-tip-static
Update master to latest libgit2 and build statically
Diffstat (limited to 'git_test.go')
| -rw-r--r-- | git_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git_test.go b/git_test.go index 3385a72..807dcc2 100644 --- a/git_test.go +++ b/git_test.go @@ -93,6 +93,8 @@ func updateReadme(t *testing.T, repo *Repository, content string) (*Oid, *Oid) { checkFatal(t, err) err = idx.AddByPath("README") checkFatal(t, err) + err = idx.Write() + checkFatal(t, err) treeId, err := idx.WriteTree() checkFatal(t, err) |
