aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-12 13:45:23 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-12 13:48:13 +0200
commit8a084f36bd0136e1c674ed3aa225d07d4125938b (patch)
treed88d764edc90e0629285fbb62357b4f4f8fdd438 /README
parentcd40f6dd222f4b8fefc9bdf95187cb568a97f096 (diff)
downloadlbsd-8a084f36bd0136e1c674ed3aa225d07d4125938b.tar.gz
Fix gg command
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index 4431b00..e9bd424 100644
--- a/README
+++ b/README
@@ -5,7 +5,9 @@ It is configured as a bare Git repository in /.git. The following
shell script (named gg) used to manage it:
#!/bin/sh
- exec git --git-dir=/.git --work-tree=/ "$@"
+ export GIT_DIR=/.git
+ export GIT_WORK_TREE=/
+ exec git "$@"
This README records important pieces of configuration that is not
well represented in the file system.