[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
- [lmi-commits] [lmi] master updated (f4054dc -> 9f235b6), Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master 16a146d 03/14: Correct flaws in git script documentation,
Greg Chicares <=
- [lmi-commits] [lmi] master 032d679 02/14: Reduce gratuitous differences between git scripts, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master 655214a 01/14: Note progress on git FETCH_HEAD permission issue, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master c78c9aa 06/14: Reduce differences between git scripts, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master 02f33b5 07/14: Don't rely on a nondefault umask, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master d432bc8 09/14: Improve documentation of git scripts, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master 28dbf67 08/14: Reduce differences between git scripts, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master 063d24d 04/14: Reduce differences between git scripts, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master 38a6c93 12/14: Let git create its own directory, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master 9f235b6 14/14: Don't mess with GID or permissions of $PWD, Greg Chicares, 2020/04/25
- [lmi-commits] [lmi] master 3dace32 05/14: Check permissions more thoroughly, Greg Chicares, 2020/04/25