aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2018-03-13 10:28:23 +0100
committerGitHub <noreply@github.com>2018-03-13 10:28:23 +0100
commit80735c4cc987d9db89bdc248010c8f47fd748c1b (patch)
tree266a2dafd932729982ed7a5e0b99a6262dd3b18d /src
parent24b739817fb719553dd4840308ee32ff60c88c1f (diff)
fetchGit: Fix debug message
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops/fetchGit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchGit.cc b/src/libexpr/primops/fetchGit.cc
index 9fc0d4662..fd536c6a5 100644
--- a/src/libexpr/primops/fetchGit.cc
+++ b/src/libexpr/primops/fetchGit.cc
@@ -138,7 +138,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
gitInfo.rev = rev != "" ? rev : chomp(readFile(localRefFile));
gitInfo.shortRev = std::string(gitInfo.rev, 0, 7);
- printTalkative("using revision %s of repo '%s'", uri, gitInfo.rev);
+ printTalkative("using revision %s of repo '%s'", gitInfo.rev, uri);
std::string storeLinkName = hashString(htSHA512, name + std::string("\0"s) + gitInfo.rev).to_string(Base32, false);
Path storeLink = cacheDir + "/" + storeLinkName + ".link";