Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Remove forgotten call to git_to_hash
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index 1d89d72738ff917d29373d50c2c2cc9bbd10b2c0..b588f7487035027755954575f922afee99651662 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-816,6
+816,10
@@
int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
revs->simplify_history = 0;
continue;
}
+ if (!strcmp(arg, "--relative-date")) {
+ revs->relative_date = 1;
+ continue;
+ }
opts = diff_opt_parse(&revs->diffopt, argv+i, argc-i);
if (opts > 0) {
revs->diff = 1;