]> git.proxmox.com Git - libgit2.git/commit - src/libgit2/remote.c
refspec: unify the string and parsed data
authorCarlos Martín Nieto <cmn@dwim.me>
Sat, 20 Apr 2013 17:13:47 +0000 (19:13 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Sat, 20 Apr 2013 17:45:40 +0000 (19:45 +0200)
commit1be680c4d0909ee5160292d7b56c4522c4bc309c
tree605d1eeee4933f727219d8c8d7fd8fd23a09c133
parentbc6374eac485ab9ad9cfd7165b6d071c3dcb673a
refspec: unify the string and parsed data

It used to be separate as an attempt to make the querying easier, but
it didn't work out that way, so put all the data together.

Add git_refspec_string() as well to get the original string, which is
now stored alongside the independent parts.
include/git2/refspec.h
src/refspec.c
src/refspec.h
src/remote.c
src/remote.h
tests-clar/network/remote/remotes.c