Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (9 sloc) 422 Bytes
#! /usr/bin/env ruby
excl = [
"lib/assets/javascripts/twitter_cldr",
"spec/js/shared/classpath_bidi_test.txt"
].map { |pattern| "grep -v #{pattern}" }
files = `git diff --diff-filter=ACMRTUXB --name-only master . | #{excl.join(" | ")}`.split("\n")
`git diff master #{files.join(" ")} > /tmp/twitter-cldr-js.diff`
`git diff --diff-filter=D master . >> /tmp/twitter-cldr-js.diff`
exec "less /tmp/twitter-cldr-js.diff"