exe/git-multi in git-multi-4.0.0 vs exe/git-multi in git-multi-4.0.1
- old
+ new
@@ -5,11 +5,11 @@
require 'git/multi'
multi_repo = command = nil
if !STDIN.tty?
- # read list of repo full names from STDIN (~pseudo multi repo)
+ # read list of repo full names from STDIN (~pseudo multi-repo)
multi_repo = STDIN.readlines.map(&:strip).map(&:freeze).freeze
# reopen STDIN (to ensure all `Kernel.system` based cmds work)
STDIN.reopen('/dev/tty')
elsif (command = ARGV.shift)&.start_with? '++'
multi_repo = command[2..-1]
@@ -52,10 +52,10 @@
else
Git::Multi::Commands.exec(command, ARGV, multi_repo)
end
rescue ArgumentError
abort \
- "Unknown multi repo: #{$ERROR_INFO.message}\n\n" \
- '(use `git multi --report` to list all known multi repos)'
+ "Unknown multi-repo: #{$ERROR_INFO.message}\n\n" \
+ '(use `git multi --report` to list all known multi-repos)'
end
# That's all Folks!