浏览代码

Allow globs in diff to get files beginning with `.`

Joe Ferguson 9 年之前
父节点
当前提交
9cf50096ac
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      diff-pr.sh

+ 1 - 0
diff-pr.sh

@@ -1,5 +1,6 @@
 #!/bin/bash
 set -eo pipefail
+shopt -s dotglob
 
 # make sure we can GTFO
 trap 'echo >&2 Ctrl+C captured, exiting; exit 1' SIGINT