Sha256: d1371a8500bd85f3f38f39c873687b599d74cd6a345bc56ccd04527b2ac30a3b
Contents?: true
Size: 297 Bytes
Versions: 930
Compression:
Stored size: 297 Bytes
Contents
#!/usr/bin/env ruby require "shellwords" # Valid commands are: `get`, `store`, `erase`. We only want to let `get` # through, as the others mutate the credential store. if ARGV.include?("get") args = ARGV.map { |arg| Shellwords.escape(arg) }.join(" ") exec "git credential-store #{args}" end
Version data entries
930 entries across 930 versions & 2 rubygems