From 00f0ed296c7b145239ba53e57d58bdd1fa42afdd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 18 Mar 2017 10:16:12 +0100 Subject: [PATCH] git-r3.eclass: Document EGIT_COMMIT* <=> EGIT_BRANCH, #612852 Document the relation between EGIT_COMMIT* and EGIT_BRANCH variables. --- eclass/git-r3.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index f8ea81b5ac87..1b49f66f5f00 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -153,8 +153,9 @@ fi # @DEFAULT_UNSET # @DESCRIPTION: # The tag name or commit identifier to check out. If unset, newest -# commit from the branch will be used. If set, EGIT_BRANCH will -# be ignored. +# commit from the branch will be used. Note that if set to a commit +# not on HEAD branch, EGIT_BRANCH needs to be set to a branch on which +# the commit is available. # # It can be overriden via env using ${PN}_LIVE_COMMIT variable. @@ -162,7 +163,8 @@ fi # @DEFAULT_UNSET # @DESCRIPTION: # Attempt to check out the repository state for the specified timestamp. -# The date should be in format understood by 'git rev-list'. +# The date should be in format understood by 'git rev-list'. The commits +# on EGIT_BRANCH will be considered. # # The eclass will select the last commit with commit date preceding # the specified date. When merge commits are found, only first parents -- 2.26.2