summaryrefslogtreecommitdiff
path: root/src/other_tools/git_operations/git_operations.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-01-19 11:13:33 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-01-24 15:47:31 +0100
commit2b316cf9bccc3608b439ddc69039377686350784 (patch)
tree2e00926ca30ef55e3ae66c381ea5a0e650173de7 /src/other_tools/git_operations/git_operations.cpp
parent51130a4ef9bfb4139ffb748d1e0e4f491a442bfd (diff)
downloadjustbuild-2b316cf9bccc3608b439ddc69039377686350784.tar.gz
GitRepo: Remove refspec argument in retrieving commit from remote...
...and use instead the branch name. A valid direct refspec (as those retrieved by a remote_ls call) will always end in the branch name, so checking the last path component ('/'-delimited substring) of a retrieved refspec is enough.
Diffstat (limited to 'src/other_tools/git_operations/git_operations.cpp')
0 files changed, 0 insertions, 0 deletions