From: martin f. krafft Date: Fri, 21 Nov 2008 11:51:40 +0000 (+0100) Subject: initial X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=a6f17aabcf0318fd2ab2e55c9ff13b13a54b25dc;p=topgit.git initial --- diff --git a/.topdeps b/.topdeps new file mode 100644 index 0000000..0459513 --- /dev/null +++ b/.topdeps @@ -0,0 +1 @@ +upstream diff --git a/.topmsg b/.topmsg new file mode 100644 index 0000000..e7351b9 --- /dev/null +++ b/.topmsg @@ -0,0 +1,8 @@ +From: martin f. krafft +Subject: [TopGit PATCH] ensure we are in the worktree, not .git + +Bert Wesarg suggests to check that we are not inside the .git directory before +setting up topgit. Because git rev-parse --git-dir only works in the top .git +dir, not deeper (i.e. inside .git/refs) and will always return "." + +Signed-off-by: martin f. krafft