repo.or.cz
/
git
/
mingw
/
j6t.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
for-each-ref: skip and warn about broken ref names
2014-10-15
Ronnie Sahlberg
for-ea
c
h
-ref: skip and warn about bro
k
en
ref names
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ron
n
ie Sahlberg
refs
.
c: allow listing and
d
eleting badly na
m
ed refs
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e Sahlbe
r
g
test: put tests for
h
andl
i
ng of
b
ad ref names in one
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
branch -d:
s
implify by using RESOLVE_REF_READING
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
nie Sahl
b
e
rg
re
f
s
.
c
:
c
h
a
nge resolve_r
e
f_unsafe reading
argument
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e Sahlberg
refs
.
c:
m
ake write_r
e
f_sha1 static
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlber
g
fetch
.
c
:
change s_update_ref to
u
se a ref tra
n
sact
i
on
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sah
l
ber
g
refs
.
c: ref_transaction
_
c
o
m
m
it: distinguish n
a
me c
o
nfl
i
cts
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
ahlb
e
rg
refs
.
c:
p
ass a li
s
t of nam
e
s t
o
skip to is_refname_
a
vai
l
a
ble
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronni
e
Sahlberg
refs
.
c: call loc
k
_ref_sha1_basic
d
i
rectly from commit
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sah
l
berg
re
f
s
.
c:
r
efuse
to loc
k
badl
y
nam
e
d refs in lock_ref_sha
1
_basic
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
ahlberg
ren
a
m
e_ref: d
o
n't
a
s
k
read_re
f
_
f
ull where the ref ca
m
e
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ron
n
ie
S
a
hlberg
r
efs
.
c: pas
s
the ref log m
e
s
sage to
_cr
e
ate/d
e
le
t
e
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
ni
e
Sahlberg
refs
.
c:
add an err
a
rgument to d
e
le
t
e_r
e
f
_loose
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
Sahl
b
erg
w
r
apper
.
c: add a
new function unlink
_
or_msg
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
R
o
n
nie S
a
h
l
b
e
rg
r
e
fs
.
c
: loc
k
_r
e
f_sha1
_
basic is used f
o
r all refs
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sa
h
l
berg
wr
a
pper
.
c: remove/unlink_or_war
n
:
simplify, treat EN
O
ENT
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
ahlberg
refs
.
c: m
a
ke del
e
t
e_ref
u
se a
trans
a
ction
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c:
m
ake prune_ref use a trans
a
ct
i
on to delete
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlb
e
rg
refs
.
c: r
e
move
l
ock_ref_sh
a
1
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e S
a
h
lb
e
rg
r
e
fs
.
c: remove the update_ref
_
write function
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
a
h
lber
g
ref
s
.
c:
r
e
move the update_r
e
f
_
lock function
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
fs
.
c: make lock_ref_s
h
a1 static
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
walker
.
c
:
u
s
e ref
t
ransaction for ref u
p
da
t
es
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
fast-
i
mport
.
c: use a
ref transaction
w
h
e
n
d
umping tags
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
ceive-pack
.
c:
u
se a reference transacti
o
n for updating
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sah
l
berg
refs
.
c: change upd
a
te_ref
to u
s
e a
transaction
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie
S
ahlberg
bra
n
ch
.
c
:
u
se ref tran
s
action for
a
ll
ref updates
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlb
e
rg
fast-i
m
por
t
.
c: change update_
b
r
a
nch
to use ref tra
n
sactions
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
ahlberg
s
equ
e
nc
e
r
.
c: use ref transactions for al
l
ref updates
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
comm
i
t
.
c: use ref transactions for updates
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
place
.
c:
us
e
the
ref transaction functi
o
ns
for updates
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
tag
.
c: use ref transactions
w
hen doing upd
a
tes
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sahlberg
r
e
fs
.
c: add transaction
.
st
a
tus and t
r
ack OPEN/CLOSED
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sahlber
g
r
e
f
s
.
c: make ref_tra
n
s
action_
b
e
gin t
a
ke an err
a
r
g
u
m
ent
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie
Sahlberg
refs
.
c: update ref_transaction
_
d
e
lete to check for
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-09-03
R
onni
e
Sahl
b
erg
r
e
fs
.
c: change ref_transaction_create to
do error ch
e
cking
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie
Sahlb
e
rg
refs
.
c
:
a
dd a publ
i
c
is_branch function
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlberg
re
f
s
.
c: change ref_transact
i
on_u
p
date(
)
t
o
do error
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie S
a
hlberg
refs
.
c: r
e
move t
h
e one
r
r
ar
g
ument to r
e
f
_tra
n
s
a
cti
o
n_commit
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlbe
r
g
update-ref: use err argu
m
e
n
t
to get error from ref_transa
c
ti
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie Sahlberg
r
e
fs
.
c: make
update
_
ref_write
u
p
date a st
r
buf on fa
i
lure
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nni
e
S
ahlbe
r
g
r
e
fs
.
c: make ref_upd
a
t
e_rejec
t
_dupl
i
c
ate
s
take a str
b
uf
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c
:
log_re
f
_write should
t
ry to re
t
urn meaningful
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlberg
refs
.
c: make resolve_ref_unsafe set errno
t
o somethi
n
g
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sahlberg
refs
.
c:
c
ommit_packed_ref
s
t
o
retu
r
n
a
meaningful errno
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie Sahlberg
refs
.
c: make re
m
ove_
e
m
p
ty
_
d
irec
t
ories alway
s
set errno
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
r
e
fs
.
c: ve
r
ify_lock
should set errno to some
t
h
ing me
a
ningful
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlber
g
refs
.
c: make
su
r
e log_re
f
_setup
r
eturns a meani
n
gful
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie S
a
hlberg
refs
.
c:
a
d
d
a
n
e
r
r a
r
gument
t
o
repack_withou
t
_refs
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie
S
ahlberg
lockfile
.
c:
ma
k
e lock_fil
e
return a mea
n
ingful errno
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sa
h
lberg
l
ockfile
.
c: add a new
p
ublic function
unable_to_lock_message
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sahlbe
r
g
r
efs
.
c: add
a
s
trbuf argument to ref_t
r
ansacti
o
n_commit
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: allow
p
a
ssing
N
U
L
L
to ref_t
r
a
n
saction_free
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
ref
s
.
c: consti
f
y
the
s
ha arguments for ref_transacti
o
n_
c
reat
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
R
on
n
i
e
Sahlberg
refs
.
c: ref_trans
a
c
ti
o
n_
c
o
m
mit
s
hould not free the
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-14
R
on
n
i
e Sahlberg
refs
.
c:
r
emov
e
ref_transaction_rollback
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie Sahlbe
r
g
enums: remove
trailin
g
',' after last
i
t
em in
enum
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-07-02
R
o
nnie Sahl
b
erg
enums:
remove
traili
n
g ','
a
f
ter last item in enum
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-06-03
Ro
n
nie Sahlberg
r
efs
.
c: change re
a
d_
r
ef_at to use t
h
e reflog
i
terators
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie
S
ahlberg
c
heckout
.
c: use
ref_e
x
ists instead of file_e
x
ist
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie
Sahlberg
refs
.
c
:
a
dd n
e
w functions reflog_exists and de
l
e
t
e_reflog
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie Sahlberg
co
m
mit
.
c: ch
e
ck for
l
ock error and retu
r
n
early
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree
2014-04-17
R
o
nnie
S
a
hlber
g
se
q
u
en
c
er
.
c: check fo
r
lock
failure an
d
b
a
il early
.
.
.
Signed-off-by: Ronnie Sahlberg <
sahlberg@google.com
>
commit
|
commitdiff
|
tree