top of page

Should a Review Reference Point to a Branch or a Specific Commit?

Oct 25
3 min read
Branch vs Commit References: Make Reviews Reproducible: Choose current or fixed evidence; Record the exact revision; Verify the reviewed content.

A review note links to the main branch and says that a particular check passed. A week later, the link shows different code. The note is still present, but its reference no longer identifies exactly what the reviewer examined.


Choose the reference according to the purpose. A branch is useful for following current work. A specific commit is useful for identifying a fixed repository state. A review record often needs both, clearly labelled.


Define whether the reference should move


Ask whether the reader needs the latest implementation or the exact version that supported a decision. A contributor onboarding page may reasonably point to current instructions. A test result should identify the revision that was tested.


Git's revision documentation describes ways to identify repository objects, including full object names, unique abbreviations, and named references. These mechanisms should be selected with the evidence requirement in mind.


A fixed revision reference does not by itself prove that the code was deployed or that every dependency was fixed. It establishes one part of the reproducibility record.


An illustrative review note


A fictional reviewer approves a form change at commit C. The branch later receives commit D, which changes validation behavior. A link to the branch now shows D, while the earlier approval concerned C.


The review note should retain the specific revision C and, if useful, separately link to the current branch. The two links answer different questions and should not be presented as interchangeable.


Record enough repository context


Keep the repository identity, exact revision, relevant path, and the purpose of the reference. A short hash copied without repository context can be ambiguous to a future reader.


Prefer the complete identifier in the durable evidence record when practical. A hosting interface may display an abbreviation, but the underlying link should identify the intended object unambiguously within the repository.


Check the linked content


Open the reference as an authorized reader and confirm that it shows the expected revision and file. Do not assume that copying a visible branch URL has created a permanent reference.


If the file moved later, a revision-specific reference can still explain the earlier state. Keep the reviewed path in the note so the reader understands why it differs from the current project layout.


Separate source from built output


A commit identifies source state, but a produced artifact can also depend on build tools, dependencies, configuration, or generated inputs. When the decision concerns a release artifact, preserve the relevant artifact identity and build evidence as well.


Do not describe a commit link alone as a complete reproducible build. It is a necessary reference in many workflows, not a universal guarantee.


Handle unavailable references honestly


Repository access can change, and an object may not remain reachable through every hosting workflow. Follow the project's retention and archival arrangements for evidence that must remain available.


If a reviewer cannot open the referenced content, record that limitation instead of silently substituting the current branch. The latest code may be useful for current work, but it cannot establish what was reviewed earlier.


Use consistent wording in handoffs


Label links as reviewed revision, current branch, or released artifact according to their role. A short label can prevent a large misunderstanding.


Include the date and scope of the check. A result for one file or test suite should not be expanded into a claim about the whole system merely because the revision is precise.


Complete the reproducibility check


Ask another authorized contributor to locate the exact content and explain what the evidence covers. If they reach a moving target or need to guess the repository, improve the reference.


The handoff is ready when a future reader can distinguish the historical basis of the decision from the project's current state. That distinction makes review notes useful after the branch has moved on.


Continue with Can a Partner Download the Same Release You Tested? for the related planning decision.


The published FutureOS introduction describes the project as being in prelaunch. Use this guide to prepare a concrete project discussion; it does not announce an available FutureOS feature.



Prepared with AI assistance. Primary sources checked on October 25, 2026. Examples and procedures are illustrative editorial guidance, not FutureOS product announcements or an independently reviewed assessment.

Comments


bottom of page