aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops
diff options
context:
space:
mode:
authorBenjamin Hipple <bhipple@protonmail.com>2019-10-27 13:45:02 -0400
committerBenjamin Hipple <bhipple@protonmail.com>2019-10-31 05:56:37 -0400
commit80d5ec6ff4388b258278ee507b94694dc34d19f5 (patch)
treebf01e6900cd300abdb7d40c02c8e33b365a148bb /src/libexpr/primops
parente5319a87ce75bbd2dd88f57c3b470a396195e849 (diff)
Minor updates to inline comments
Add missing docstring on InstallableCommand. Also, some of these were wrapped when they're right next to a line longer than the unwrapped line, so we can just unwrap them to save vertical space.
Diffstat (limited to 'src/libexpr/primops')
-rw-r--r--src/libexpr/primops/fetchGit.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libexpr/primops/fetchGit.cc b/src/libexpr/primops/fetchGit.cc
index 90f600284..7ef3b3823 100644
--- a/src/libexpr/primops/fetchGit.cc
+++ b/src/libexpr/primops/fetchGit.cc
@@ -45,9 +45,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
if (!clean) {
- /* This is an unclean working tree. So copy all tracked
- files. */
-
+ /* This is an unclean working tree. So copy all tracked files. */
GitInfo gitInfo;
gitInfo.rev = "0000000000000000000000000000000000000000";
gitInfo.shortRev = std::string(gitInfo.rev, 0, 7);