diff options
author | EuAndreh <eu@euandre.org> | 2022-10-28 11:08:51 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-10-28 11:08:51 -0300 |
commit | a260727ed61f9d000e290573eb3d2e6a23ae8190 (patch) | |
tree | 12443f3330ab60fd65d412d1f22a52757e951a24 /bin | |
parent | bin/repos: Omit warning on not guessing the type of repository (diff) | |
download | dotfiles-a260727ed61f9d000e290573eb3d2e6a23ae8190.tar.gz dotfiles-a260727ed61f9d000e290573eb3d2e6a23ae8190.tar.xz |
bin/repos: Only print the repository name, not its type
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repos | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -133,8 +133,7 @@ shift $((OPTIND - 1)) is_repository() { TYPE="$(vcs -C "$1" -t 2>/dev/null)" if [ -n "$TYPE" ]; then - printf '%s:%s\n' "$TYPE" "$1" - return 0 + echo "$1" else return 1 fi |