Skip to content

jgit timestamp provider should support fetching the history from the remote #5508

@laeubi

Description

@laeubi

This is a followup on

Problem:

Currently when using a shallow copy (often used for CI builds) the timestamps do not work reliable leading to strange effects, we improved it already here to give an error/warning so users are not confused:

But as shallow copies are still useful (e.g. let storage, less to checkout), we want another option now:

  • add a new option beside ERROR, WARNING, IGNORE that is REMOTE
  • if REMOTE is enabled we should fetch the history from the remote origin instead of using the local history for the project folder
  • REMOTE should become the new default and we should print a message to the log when this is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions