]> arthur.barton.de Git - bup.git/commit
Fix git_commit_dates() to handle (obvious) duplicates
authorRob Browning <rlb@defaultvalue.org>
Sat, 17 May 2014 20:34:32 +0000 (15:34 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 17 May 2014 20:43:54 +0000 (15:43 -0500)
commit2d7509c1d9c275a5c12aea1124d4aaa75cc1b379
treeffb93051be5e0eb2bc15c53e444c41b42657f4cc
parent030121915d53399f84a19bcdfc4951a72d38d3e1
Fix git_commit_dates() to handle (obvious) duplicates

Since git show will suppress duplicate results, change
git_commit_dates() to detect that situation and repair the damage.

Though currently, it can only handle cases where the duplicates are
obvious, i.e. have the same exact string in the argument list.  It
won't be able to handle cases where two arguments differ, but resolve
to the same underlying hash.  For our current purposes, that should be
fine since we only pass in hashes.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/git.py