Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (7 sloc) 437 Bytes
#!/usr/bin/env bash
# Use this as a replacement for `git log`, it should work exactly the same, except spit out Jira urls instead of log messages
# e.g.
# git-log-jira EXTJSIV origin/extjs-4.1.0 --since="last monday"
# git-log-jira TOUCH origin/touch-2.0.0 --since="last monday"
git log --grep="$SEARCH" "$@" |grep "$SEARCH"|sed -E 's|^.*('"$SEARCH"'[-_\s][0-9]*).*$|\1|g'|sort|uniq