Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 10 lines (8 sloc) 0.532 kb
#!/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"
SEARCH="$1";shift
echo "<!doctype html><meta charset=utf-8><title>$SEARCH`date`</title>"
git log --grep="$SEARCH" "$@" |grep "$SEARCH"|sed -E 's|^.*('"$SEARCH"'[-_\s][0-9]*).*$|<br><a href=https://sencha.jira.com/browse/\1>\1</a>|g'|sort|uniq
Jump to Line
Something went wrong with that request. Please try again.