Skip to content

Instantly share code, notes, and snippets.

@avescodes
Created January 28, 2010 20:36
Show Gist options
  • Save avescodes/289116 to your computer and use it in GitHub Desktop.
Save avescodes/289116 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'active_resource'
the_day_before_yesterday = (Date.today.cwday == 1 ? 4 : 2).days.ago.strftime("%b %d %Y")
puts `cd ~/panda && git log --color --author="$GIT_AUTHOR_NAME" --after="#{the_day_before_yesterday}"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment