Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
1db8374f
Commit
1db8374f
authored
2 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[headers] better info message on checked headers in presence of renaming
parent
b908d490
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
share/Makefile.headers
+6
-2
6 additions, 2 deletions
share/Makefile.headers
with
6 additions
and
2 deletions
share/Makefile.headers
+
6
−
2
View file @
1db8374f
...
...
@@ -206,8 +206,12 @@ else
ifneq
($(HDRCK.HAS_GIT),)
define
HDRCK.file-list-from-git-diff-info
$(GIT)
diff
--name-status
$(1)
|
$(GREP)
-v
"^D"
|
$(SED)
-e
"s/^[CR][0-9]\+[ \t]\+[^ \t]\+[ \t]\+//"
-e
"s/^[AM][ \t]*//"
endef
define
HDRCK.file-list-from-git-diff
$(
GIT)
diff
--name-status
$(1)
|
$(GREP)
-v
"^D"
|
$(SED)
-e
"s/^[CR][0-9]\+[ \t]\+[^ \t]\+[ \t]\+//"
-e
"s/^[AM][ \t]*//"
|
$(TR)
'\n'
'\000'
|
$(HDRCK.FILE_ATTR)
$(
call
HDRCK.file-list-from-git-diff-info,
$(
1
))
|
$(TR)
'\n'
'\000'
|
$(HDRCK.FILE_ATTR)
endef
HDRCK.main-targets
=
check-headers headers
...
...
@@ -218,7 +222,7 @@ $$(HDRCK.$(1)-filter-targets):: HDRCK.SPEC=$$(call HDRCK.file-list-from-git-diff
$$(HDRCK.$(1)-filter-targets)
::
%.$(1) : $(3) %
@
echo
[
HDRCK] Done:
HDRCK_DIFF
=
\"
$(
2
)
\"
make
$$(
basename
$$
@
)
@
echo
[
HDRCK] checked file list:
$$(
GIT
)
diff
--name-status
$(
2
)
$$(
call HDRCK.file-list-from-git-diff-info,
$(
2
)
)
endef
ifneq
($(HEADER_DIFF),)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment