[RTEMS Project] #2960: RSB: Reports modified Git version in case RSB is a Git submodule
RTEMS trac
trac at rtems.org
Fri Sep 22 01:45:26 UTC 2017
#2960: RSB: Reports modified Git version in case RSB is a Git submodule
-----------------------------+--------------------------
Reporter: Sebastian Huber | Owner: Chris Johns
Type: defect | Status: new
Priority: normal | Milestone: 4.12.0
Component: RSB | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+--------------------------
Comment (by Chris Johns):
I can ignore a detached HEAD as condition for being dirty. That seems
reasonable.
I will also ignore untracked files. They should be ignored in a build if
nothing is modified. It does assume the build is not modified by untracked
files. Untracked cannot be easily handled as I cannot look into the files
or make assumptions. This is a change to the initial implementation but I
am seeing tool builds with up to date repos that have untracked files like
logs, or patches and that is not a true indication of the state. Needing a
completely clean directory does seem a little onerous.
Is a modified submodule considered dirty? I think so. For example:
{{{
$ git st
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working
directory)
(commit or discard the untracked or modified content in submodules)
modified: freebsd-org (new commits, untracked content)
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/2960#comment:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list