Skip to content

Add support for git 2.38+ automation for performance optimization (scalar) #371

@gdubicki

Description

@gdubicki

Is your feature request related to a problem? Please describe.

In git 2.38 a new tool has been bundled, scalar, that allows automating enabling the performance optimization features for existing git repos.

It would be nice for tsrc to support this tool to automatically:

  • start managing repos with scalar (scalar register),
  • update the config of all scalar-manager repositories after git update (scalar reconfigure -a).

Perhaps tsrc could also start using scalar clone instead of git clone which would do a sparse checkout and start to manage the repo with scalar.

Describe the solution you'd like

tsrc could automatically run the above commands if it detects git v. 2.38+. It could detect git version update by storing it in a dot file and then run the config update.

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