projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfea6d5
)
Make update_autogen work in git worktrees
author
Robert Pluim
<rpluim@gmail.com>
Thu, 22 Mar 2018 08:06:44 +0000
(09:06 +0100)
committer
Robert Pluim
<rpluim@gmail.com>
Fri, 23 Mar 2018 08:15:42 +0000
(09:15 +0100)
* admin/update_autogen: Make it work in a git worktree
admin/update_autogen
patch
|
blob
|
history
diff --git
a/admin/update_autogen
b/admin/update_autogen
index d2118674792609b77fa232393fc4dd35c25f156c..f4c2c39825cb7d93da0c83e434ebf1e6f1330b3f 100755
(executable)
--- a/
admin/update_autogen
+++ b/
admin/update_autogen
@@
-47,7
+47,7
@@
cd $PD
cd ../
[ -d admin ] || die "Could not locate admin directory"
-[ -d .git ] ||
die "No .git direc
tory"
+[ -d .git ] ||
git rev-parse --git-dir > /dev/null 2>&1 || die "Not in a git reposi
tory"
usage ()
{