[tbb-bugs] #29572 [Applications/Tor Browser]: Fetching latest commits fails when building testbuilds

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Mar 9 12:09:38 UTC 2019


#29572: Fetching latest commits fails when building testbuilds
--------------------------------------+--------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  defect                    |         Status:  reopened
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-rbm                   |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by boklm):

 Hmm, so your git repository is on a branch that does not have a
 corresponding file in `.git/refs/heads`.

 The reason why we check that this file exists is that when we clone a git
 repository which does not have a master branch (such as `tor-browser.git`
 in the past), we are on a branch which does not exist, and `git checkout
 --detach` gives an error, so we want avoid running it.

 What does `git rev-parse --verify HEAD` output in your
 `git_clones/firefox` repository? In the case of a repository without a
 master branch cloned, this gives an error. So if in your case it does not
 give an error, maybe we could use this command to check if we need to run
 `git checkout --detach`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29572#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list