Browse Source

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

Joe Ferguson 9 năm trước cách đây
mục cha
commit
9cf50096ac
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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