diff options
author | Aditya Sirish <aditya@saky.in> | 2023-10-12 00:15:14 -0400 |
---|---|---|
committer | Aditya Sirish <aditya@saky.in> | 2023-10-26 07:05:45 -0400 |
commit | 4862643548f115dff8d402faf610e50408458cdf (patch) | |
tree | 28a0f2150107c215c288f7d2126c16005c34f6db /doc.go | |
parent | f4b881ce59edb35afb6a375187953db5ea7cbd64 (diff) | |
download | go-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 'doc.go')
0 files changed, 0 insertions, 0 deletions