aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/reference.go
diff options
context:
space:
mode:
authorAditya Sirish <aditya@saky.in>2023-10-12 00:15:14 -0400
committerAditya Sirish <aditya@saky.in>2023-10-26 07:05:45 -0400
commit4862643548f115dff8d402faf610e50408458cdf (patch)
tree28a0f2150107c215c288f7d2126c16005c34f6db /storage/filesystem/reference.go
parentf4b881ce59edb35afb6a375187953db5ea7cbd64 (diff)
downloadgo-git-4862643548f115dff8d402faf610e50408458cdf.tar.gz
git: remote, flip branch check to not-tag check
In remote.updateLocalReferenceStorage, this commit updates a check to see if the reference is for a branch (in refs/heads) to checking the reference is not a tag. This change ensures that the subsequent fast-forward only handling clauses apply to references that are not standard branches stored in refs/heads. Signed-off-by: Aditya Sirish <aditya@saky.in>
Diffstat (limited to 'storage/filesystem/reference.go')
0 files changed, 0 insertions, 0 deletions