Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GOSI
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Consortium Members
UKMO
GOSI
GOSI
Commits
a39fd0de
Commit
a39fd0de
authored
1 year ago
by
Guillaume Samson
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "SETTE scripts do not give the expected current revision/sha with Nemo 4.2"
parent
15cf3dbb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sette/all_functions.sh
+1
-1
1 addition, 1 deletion
sette/all_functions.sh
sette/sette_rpt.sh
+1
-1
1 addition, 1 deletion
sette/sette_rpt.sh
with
2 additions
and
2 deletions
sette/all_functions.sh
+
1
−
1
View file @
a39fd0de
...
...
@@ -172,7 +172,7 @@ clean_config() {
# define validation dir
set_valid_dir
()
{
if
[
${
DETACHED_HEAD
}
==
"no"
]
;
then
REVISION_NB
=
`
git
-C
${
MAIN_DIR
}
rev-
list
--abbrev-commit
origin |
head
-1
l
`
REVISION_NB
=
`
git
-C
${
MAIN_DIR
}
rev-
parse
--short
HEAD 2> /dev/nul
l
`
else
REVISION_NB
=
${
DETACHED_CMIT
}
fi
...
...
This diff is collapsed.
Click to expand it.
sette/sette_rpt.sh
+
1
−
1
View file @
a39fd0de
...
...
@@ -591,7 +591,7 @@ if [[ $? == 0 ]] ; then
branchname
=
"Unknown"
fi
else
revision
=
`
git rev-
list
--abbrev-commit
origin |
head
-1
l
`
revision
=
`
git rev-
parse
--short
HEAD 2> /dev/nul
l
`
fi
else
branchname
=
"Unknown"
...
...
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