aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-27 21:58:07 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-27 21:58:07 +0000
commit0a590f0e38c126825912405045d9b2b12d6c44c9 (patch)
treef9856812e39acf94afd512795bb875ed0d260dba /kiss
parent609ac8178e6695c2ac834fcf8bbd61cef0901d78 (diff)
downloadcpt-0a590f0e38c126825912405045d9b2b12d6c44c9.tar.gz
kiss: comment
FossilOrigin-Name: 12302afda42af41497ea4025597c8786a17eb6b89f01959826aa5403f1557799
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 4 insertions, 0 deletions
diff --git a/kiss b/kiss
index 0243004..7db2fd4 100755
--- a/kiss
+++ b/kiss
@@ -997,6 +997,10 @@ pkg_updates() {
# Find out the owner of the repository and spawn
# git as this user below.
+ #
+ # This prevents 'git' from changing the original
+ # ownership of files and directories in the rare
+ # case that the repository is owned by a 3rd user.
(drop_to=$(stat -c %U "$PWD")
dosu git fetch