Skip to content

Details about updated submodules #126

@deathaxe

Description

@deathaxe

Problem description

A submodule is somehow like a library being linked to a repository. It is most likely a 3rd-party repository, which is not maintained by the top-level repository author. Hence the author does not need to know about all the details of the submodule but may be interested in updating it to its latest "remote revision" from time to time only without any interest in making local changes to the submodule at all.

While local changes to the submodule are displayed in the location bar, it is hard to see if and how a submodule was updated to its latest remote revision by calling git pull from within the submodule's working tree.

Preferred solution

location bar

The location bar should indicate the sources/nck submodule as being updated (newer than the commit in the top repository). Maybe it could display the ahead counters which are used to indicate the ahead/behind state of normal branches?

image

commit dialog

The hint text in the commit dialog should display the meta information about the submodule's new head commit. Maybe date, author, commit message?

image

This is how GitExtensions displays changes:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions