lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 16a146d 03/14: Correct flaws in git script do


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 16a146d 03/14: Correct flaws in git script documentation
Date: Sat, 25 Apr 2020 17:43:12 -0400 (EDT)

branch: master
commit 16a146dc654cdd23bab5250a6b97e794e1eb9abf
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Correct flaws in git script documentation
---
 gwc/share_git1.sh | 4 ++--
 gwc/share_git2.sh | 9 +++------
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/gwc/share_git1.sh b/gwc/share_git1.sh
index a68a040..2e693ba 100755
--- a/gwc/share_git1.sh
+++ b/gwc/share_git1.sh
@@ -82,8 +82,8 @@ du -sb zlib.git manual.git
 #      fetch = +refs/heads/*:refs/remotes/origin/*
 #    (which is just a default)
 #  - HEAD is
-#      refs/heads/master  [in zlib.git]
-#      refs/heads/wx      [in manual.git]
+#      refs/heads/master  [in manual.git]
+#      refs/heads/wx      [in zlib.git]
 #    though both seem to point to the same SHA1
 #  - git-fsck complains about an unborn branch, in manual.git only:
 git -C zlib.git fsck
diff --git a/gwc/share_git2.sh b/gwc/share_git2.sh
index 4f19558..926dd5d 100755
--- a/gwc/share_git2.sh
+++ b/gwc/share_git2.sh
@@ -89,14 +89,11 @@ sudo --user=pulse git -C zlib fetch
 # The two methods produce somewhat similar results. Sizes:
 du -sb zlib nonbare/
 # are almost the same. Small differences:
-#  - nonbare/.git/config has this extra line under [remote "origin"]:
-#      fetch = +refs/heads/*:refs/remotes/origin/*
-#    (which is just a default)
 #  - HEAD is
-#      refs/heads/master  [in zlib]
-#      refs/heads/wx      [in nonbare]
+#      refs/heads/master  [in nonbare]
+#      refs/heads/wx      [in zlib]
 #    though both seem to point to the same SHA1
-#  - git-fsck complains about an unborn branch, in nonbare only:
+# git-fsck makes no complaint about either:
 git -C zlib fsck
 git -C nonbare fsck
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]