MCPcopy Index your code
hub / github.com/git/git / comparison_date

Function comparison_date

revision.c:4168–4174  ·  view source on GitHub ↗

* Return a timestamp to be used for --since/--until comparisons for this * commit, based on the revision options. */

Source from the content-addressed store, hash-verified

4166 * commit, based on the revision options.
4167 */
4168static timestamp_t comparison_date(const struct rev_info *revs,
4169 struct commit *commit)
4170{
4171 return revs->reflog_info ?
4172 get_reflog_timestamp(revs->reflog_info) :
4173 commit->date;
4174}
4175
4176enum commit_action get_commit_action(struct rev_info *revs, struct commit *commit)
4177{

Callers 2

get_commit_actionFunction · 0.85
get_revision_1Function · 0.85

Calls 1

get_reflog_timestampFunction · 0.85

Tested by

no test coverage detected