mirror of
https://github.com/php/web-rmtools.git
synced 2026-03-24 01:02:11 +01:00
[PR #15] [CLOSED] Increase length of short ref #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/php/web-rmtools/pull/15
Author: @shivammathur
Created: 11/7/2020
Status: ❌ Closed
Base:
master← Head:shivammathur-ref-length📝 Commits (1)
ceaefd7Increase length of short ref📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
include/Branch.php(+1 -1)📝
script/snap.php(+1 -1)📄 Description
Latest commit on
masterbranch ofphp-srcis inaccessible using short commit hash of 7 characters, so the zip file fails to download.For hash
6768f4705cf0603d4770e3825795ec6b30bbb8c1, these URLs would404.This results in this error, as the zip fails to download
Increasing the length to 10 characters would be a good fix as
git log --onelinecurrently onphp-srcuses 10 characters for shortening commit hashes.Relevant discussion: https://stackoverflow.com/questions/18134627
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.