From e47baf02e1679514f0157a8c732dafb90e388f3b Mon Sep 17 00:00:00 2001
From: Daniel Shahaf <d.s@daniel.shahaf.name>
Date: Mon, 17 Jul 2017 14:49:22 +0000
Subject: [PATCH] docs: Clarify what 'enter' does.

---
 doc/vcsh.1.ronn | 2 +-
 vcsh            | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/vcsh.1.ronn b/doc/vcsh.1.ronn
index 45b8c83..a25bf65 100644
--- a/doc/vcsh.1.ronn
+++ b/doc/vcsh.1.ronn
@@ -98,7 +98,7 @@ an interactive user.
   Delete an existing repository.
 
 * enter:
-  Enter repository; spawn new <$SHELL>.
+  Enter repository; spawn new <$SHELL> with <$GIT_DIR> set.
 
 * foreach:
   Execute git command for every vcsh repository.
diff --git a/vcsh b/vcsh
index de1b419..ff0ec2b 100755
--- a/vcsh
+++ b/vcsh
@@ -106,6 +106,7 @@ help() {
    commit               Commit in all repositories
    delete <repo>        Delete an existing repository
    enter <repo>         Enter repository; spawn new instance of \$SHELL
+                        with \$GIT_DIR set.
    foreach [<-g>]
      <git command>      Execute a command for every repository
    help                 Display this help text
-- 
GitLab