mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
scm.sh: Be more explicit about where ls-files fails
scm.sh sometimes complains about "no VCS here" without detailing what "here" actually means. Fix that. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
9018eb7c30
commit
3f8c1ad573
1 changed files with 2 additions and 2 deletions
|
|
@ -120,8 +120,8 @@ cmd_ls_files()
|
|||
list_dirents_cvs $1
|
||||
return
|
||||
fi
|
||||
git status >/dev/null 2>&1 || {
|
||||
echo "failed to list versioned files in $1: no VCS" >&2
|
||||
git -C $1 status >/dev/null 2>&1 || {
|
||||
echo "failed to list versioned files in $(realpath $1): no VCS" >&2
|
||||
exit 1
|
||||
}
|
||||
list_dirents_git $1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue