From 1a75371b8b727ab91d4e966ecce6cc4cf32cf944 Mon Sep 17 00:00:00 2001
From: Nirbheek Chauhan <nirbheek@centricular.com>
Date: Tue, 2 Oct 2018 13:39:49 +0530
Subject: [PATCH] git-update: Get the revision of the right repository

Typo, should fix the gst-build CI failures.
---
 git-update | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-update b/git-update
index 7285dfbfb4..c949ffd3c7 100755
--- a/git-update
+++ b/git-update
@@ -41,7 +41,7 @@ def update_subprojects(manifest, no_interaction=False):
             # that will always fail.
             ret = git('-C', repo_dir, 'rev-parse', '--symbolic-full-name', 'HEAD')
             if ret.strip() == 'HEAD':
-                revision = git('rev-parse', 'HEAD').strip()
+                revision = git('-C', repo_dir, 'rev-parse', 'HEAD').strip()
         if not update_repo(repo_name, repo_dir, revision, no_interaction):
             return False