Skip to content

Commit

Permalink
tg-depend.sh: match tg status terminology
Browse files Browse the repository at this point in the history
`tg status` (and `git status`) refer to the "working directory".

Change `tg depend` to do the same to avoid confusion.

Signed-off-by: Kyle J. McKay <[email protected]>
  • Loading branch information
mackyle committed Aug 24, 2021
1 parent 10a7995 commit 017295f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tg-depend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ depend_add()
exit 0
}
(ensure_clean_tree) || {
warn "skipping needed \`tg update\` since worktree is dirty"
warn "be sure to run \`tg update\` when worktree is clean"
warn "skipping needed \`tg update\` since working directory is dirty"
warn "be sure to run \`tg update\` when working directory is clean"
exit 1
}
set -- "$current_name"
Expand Down

0 comments on commit 017295f

Please sign in to comment.