Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop e5819c54c -> a8d6065d9


Fix getting the commit hash


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/afc3805b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/afc3805b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/afc3805b

Branch: refs/heads/develop
Commit: afc3805bed17285adb1c0d308b2ddb9febb07624
Parents: e5819c5
Author: spoonofpower <spoonofpo...@gmail.com>
Authored: Wed Oct 12 16:18:57 2016 -0700
Committer: spoonofpower <spoonofpo...@gmail.com>
Committed: Wed Oct 12 16:18:57 2016 -0700

----------------------------------------------------------------------
 newt/image/image.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/afc3805b/newt/image/image.go
----------------------------------------------------------------------
diff --git a/newt/image/image.go b/newt/image/image.go
index e144e60..e46fdab 100644
--- a/newt/image/image.go
+++ b/newt/image/image.go
@@ -552,7 +552,7 @@ func (r *repoManager) getImageManifestPkg(bp 
*builder.BuildPackage) *ImageManife
                Name: ip.Repo,
        }
 
-       res, err := util.ShellCommand(fmt.Sprintf("cd %s && git rev-parse 
head", path))
+       res, err := util.ShellCommand(fmt.Sprintf("cd %s && git rev-parse 
HEAD", path))
        if err != nil {
                log.Debugf("Unable to determine commit hash for %s: %v", path, 
err)
                repo.Commit = "UNKNOWN"

Reply via email to