repo.or.cz
/
git
/
mingw.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
update-ref --stdin: pass transaction around explicitly
2014-09-03
Ronnie Sahlberg
refs
.
c:
make delete
_
ref use a tra
n
sac
t
ion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: ma
k
e prune_re
f
u
s
e a trans
a
ction to
delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
n
n
i
e
S
a
hlberg
refs
.
c: remo
v
e
lock_ref_sh
a
1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ron
n
ie
Sahlbe
r
g
refs
.
c: rem
o
ve the
u
pdate_ref
_
write
f
unction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e
S
a
h
lberg
refs
.
c
: r
e
move the update_ref_lock
f
u
nction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie Sa
h
lberg
r
efs
.
c
:
make
l
ock_ref_sha1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
walker
.
c:
u
se ref t
r
ansaction fo
r
ref updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie Sahlberg
fast-
i
mpor
t
.
c:
u
se a ref t
r
an
s
actio
n
w
hen dum
p
i
ng tag
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sah
l
b
erg
rec
e
ive-
p
a
c
k
.
c: use a refere
n
ce trans
a
c
t
ion for
u
pdating
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
ahl
b
erg
refs
.
c:
c
hange u
p
date_ref to use a transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie S
a
hlberg
branc
h
.
c:
use ref transaction for all
ref
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronni
e
Sahlberg
fast-
i
mport
.
c:
c
hang
e
up
d
ate_branch
t
o use re
f
t
r
ans
a
ct
i
o
n
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
sequencer
.
c:
use ref transactions for
all
r
ef
u
pdates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sahlb
e
rg
com
m
it
.
c: use r
e
f
transactions for updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
onnie
S
ahl
b
erg
replace
.
c: use the
r
ef
transact
i
on fu
n
ctio
n
s for updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
onnie Sa
h
l
b
erg
t
a
g
.
c: use ref transactions w
h
en doing
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlb
e
rg
refs
.
c: add transaction
.
st
a
tus and trac
k
OPEN/CLOSED
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronni
e
Sahlberg
r
e
f
s
.
c: make ref_
t
ransac
t
io
n
_begi
n
take
a
n err arg
u
ment
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
a
h
l
b
erg
r
e
fs
.
c: update
ref_tran
s
act
i
on_d
e
l
e
t
e to check
for
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
n
i
e Sahlbe
r
g
refs
.
c:
chan
g
e ref_transacti
o
n_cr
e
ate to do err
o
r che
c
k
ing
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: cha
n
ge ref_transact
i
o
n
_
updat
e
() to d
o
er
r
or
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlb
e
rg
refs
.
c
: remove the on
e
rr argument to
ref_
t
ransaction_commit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahlbe
r
g
upd
a
t
e
-ref
:
u
se err
a
rgume
n
t to g
e
t error from ref_
t
ransacti
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sah
l
berg
re
f
s
.
c
: make
u
p
da
t
e_ref_write update a s
t
rbuf on failu
r
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
re
f
s
.
c
:
m
ake ref_update_reject_duplicates take
a
s
t
r
buf
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie
Sahl
b
erg
refs
.
c: lo
g
_ref_write sho
u
ld try to return
meaningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlbe
r
g
r
e
fs
.
c:
m
a
ke
resolve_ref_u
n
safe
s
et
e
rrno t
o
somet
h
i
n
g
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie Sahlberg
refs
.
c:
c
o
mm
i
t_packe
d
_
r
e
f
s
to return a
meaningfu
l
errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
n
nie
S
ahlberg
refs
.
c: m
a
ke rem
o
ve_em
p
t
y
_directories always set e
r
r
n
o
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlberg
refs
.
c: verify
_
lock should set err
n
o to
someth
i
n
g meaningful
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
S
ahlberg
refs
.
c: make sure log_ref_setup
retur
n
s a m
e
anin
g
ful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie S
a
hlberg
r
e
fs
.
c
:
ad
d
an err argument to repa
c
k_without_
r
efs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
lockfile
.
c: mak
e
loc
k
_file retur
n
a meaningful errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sahlberg
lockfile
.
c:
add
a
new
p
ub
l
ic function u
n
abl
e
_to_l
o
c
k_message
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: add a strbuf argu
m
e
n
t to ref_transaction_c
o
mmit
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onni
e
Sahlberg
refs
.
c
:
al
l
ow p
a
ssing
NULL to re
f
_
tr
a
nsaction_free
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie
S
ahlbe
r
g
refs
.
c:
c
onstif
y
the
s
ha arguments for ref_tra
n
s
action_creat
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
n
i
e Sahlberg
refs
.
c
: ref_transa
c
tion_commit
s
hou
l
d not free the
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: r
e
m
ove ref_transaction_rollb
a
ck
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-06-03
Ron
n
ie Sa
h
l
b
erg
re
f
s
.
c: c
h
ang
e
read_ref_at to use the refl
o
g iter
a
to
r
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
R
onnie Sahlberg
c
hecko
u
t
.
c:
use ref_exis
t
s
i
nstead
of file_exist
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ro
n
n
i
e Sa
h
lberg
refs
.
c:
a
dd n
e
w
fu
n
ctions reflog_exists a
n
d delete_
r
eflog
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie Sahlber
g
comm
i
t
.
c: check for
l
ock error an
d
return
e
a
rly
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie S
a
h
l
berg
s
e
q
u
enc
e
r
.
c
:
check fo
r
l
ock failure and ba
i
l early
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree