repo.or.cz
/
git
/
jrn.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'br/http-init-fix' into jch
2014-07-31
Ronnie
Sahlb
e
rg
re
f
s
.
c: make the *_pack
e
d_
r
efs f
u
nctio
n
s static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
Ronnie
S
a
h
lberg
refs
.
c: m
a
ke repa
c
k_without
_
refs static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
R
o
nnie Sahlber
g
remote
.
c: use
a transac
t
ion fo
r
deleting r
e
fs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
Ronn
i
e
S
ahlberg
refs
.
c: write u
p
dates to pac
k
ed refs
w
hen a trans
a
ction
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
Ronnie Sahlbe
r
g
refs
.
c: move
r
eflog updates i
n
to it
s
own functio
n
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
Ronni
e
Sahlber
g
refs
.
c:
roll
b
ack the lockfile before w
e
die() in re
p
ack_wit
h
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
Ronnie Sahlberg
re
f
s
.
c: update rename
_
ref to use a transacti
o
n
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
Ronnie Sahlberg
re
f
s
.
c: use pa
c
ked refs when deleti
n
g refs
d
u
ring
a
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
R
o
nnie
Sahlberg
refs
.
c: ret
u
rn
error
instead of d
y
ing when lock
i
n
g
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-31
Ro
n
nie S
a
hlberg
refs
.
c: allow passing raw git_comm
i
t
t
er_info as email
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
R
o
nnie
Sahlberg
r
e
f
s
.
c
:
a
llow del
e
t
i
ng r
e
fs with a broken sha1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronnie S
a
hlberg
refs
.
c: remove lock_any
_
ref_for_upd
a
t
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ron
n
ie Sahlb
e
rg
refs
.
c: make unlo
c
k
_
ref/
c
lose_ref/c
o
mmit
_
ref stati
c
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ro
n
nie
Sahlberg
refs
.
c:
ren
a
me log
_
r
ef_set
u
p
to create_reflog
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronnie Sahlberg
ref
l
og
.
c: use a refl
o
g t
r
an
s
action when wri
t
ing duri
n
g
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronn
i
e Sahlber
g
r
e
fs
.
c: allow
m
ult
i
ple reflog
u
p
dates during a single
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronnie Sahlberg
refs
.
c: o
n
l
y
write
r
eflog up
d
a
t
e if msg is non-NULL
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronnie Sahlberg
r
efs
.
c:
a
d
d
a fla
g
to all
o
w
r
eflog
u
pdate
s
to
truncat
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronni
e
Sahlb
e
rg
r
e
fs
.
c: add a tran
s
acti
o
n fu
n
ction to append a reflog
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronn
i
e S
a
hlberg
lo
c
kfile
.
c
: make hold
_
lock
_
file_for_append p
r
eser
v
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronn
i
e Sahlberg
refs
.
c: add
a
f
unction to a
p
pend a
r
eflog
entry
to
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronnie Sahlberg
refs
.
c: add a new upda
t
e_type field to ref_u
p
da
t
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronnie Sahlberg
ref
s
.
c: rename t
h
e transaction f
u
nctions
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronn
i
e Sa
h
lber
g
refs
.
c: make ref_transaction_delete a w
r
apper for
ref_tr
a
nsa
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-23
Ronnie Sahlberg
refs
.
c: make
r
ef_transactio
n
_crea
t
e a
w
r
apper to ref_transac
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
Ronnie
S
a
hlberg
re
f
s
.
c: fix
h
andling of badl
y
n
a
med re
f
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
R
onnie S
a
hlberg
refs
.
c
:
m
ake wri
t
e_ref_
s
ha1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
Ronnie Sahl
b
erg
fetc
h
.
c
: c
h
a
n
ge
s
_update
_
ref to use a
r
ef transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
R
o
nnie Sa
h
lberg
refs
.
c
: prop
a
g
a
te a
n
y errno==E
N
OTDIR
f
rom _commit
b
a
ck
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
R
o
nnie Sa
h
lberg
refs
.
c: pass a s
k
i
p list to name_c
o
n
f
lict_fn
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
R
onnie S
a
h
l
berg
r
e
fs
.
c
:
ca
l
l l
o
ck_ref_sh
a
1
_ba
s
ic
directly fro
m
c
o
mmit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
Ron
n
i
e Sa
h
l
b
e
rg
refs
.
c
:
m
ov
e
the
check for vali
d
refna
m
e to lock_ref_sha1_
b
asi
c
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
Ronnie Sahlberg
refs
.
c: p
a
ss NULL as *flags to re
a
d
_
ref_full
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
Ro
n
nie Sa
h
lbe
r
g
refs
.
c
: pass the ref l
o
g message to _crea
t
e/delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
Ronnie
S
ahlberg
ref
s
.
c: add an err argument to delete_ref_loose
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
Ronnie Sahlbe
r
g
wrap
p
e
r
.
c
:
a
d
d
a new funct
i
o
n
unl
i
nk_or_ms
g
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-17
Ronn
i
e Sa
h
lberg
wrappe
r
.
c: sim
p
li
f
y warn_if_unremovable
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
R
onnie Sah
l
berg
refs
.
c:
m
ake
d
ele
t
e_ref use a transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlberg
refs
.
c: m
a
ke prune
_
ref use a transact
i
on to dele
t
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlberg
refs
.
c: remove lock_ref_sha1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ro
n
n
ie Sahlberg
refs
.
c:
r
emove
t
h
e
update_ref_wri
t
e functio
n
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlberg
ref
s
.
c:
remove
t
h
e u
p
date_
r
ef_lock
f
unct
i
on
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronn
i
e
S
a
h
l
berg
refs
.
c: make lock_ref_sha1
static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sa
h
lberg
walker
.
c: use ref transac
t
ion fo
r
ref updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlberg
fa
s
t-imp
o
rt
.
c: use a
r
ef transa
c
tion when dumpin
g
tags
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ro
n
nie Sahlberg
receiv
e
-
p
ack
.
c
:
use a reference trans
a
ct
i
on
f
o
r
updating
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlb
e
rg
ref
s
.
c
:
chan
g
e updat
e
_ref to use
a
tra
n
sact
i
on
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie S
a
h
lberg
b
r
a
n
ch
.
c: use ref tran
s
a
ction for
a
ll ref updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie
Sahlberg
f
a
s
t-impor
t
.
c: cha
n
ge up
d
ate
_
b
ran
c
h to use
r
ef
tr
a
ns
a
ctions
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlber
g
sequencer
.
c: use ref transactions for al
l
re
f
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronn
i
e S
a
hlb
e
rg
commit
.
c: use r
e
f
t
ra
n
sactions fo
r
up
d
ates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sah
l
berg
replace
.
c:
u
se the r
e
f trans
a
ct
i
o
n
functions for updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlberg
tag
.
c: use ref transactions wh
e
n d
o
in
g
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ro
n
nie Sahlber
g
r
efs
.
c: add trans
a
ction
.
status
a
nd track OP
E
N
/CLOSED
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sa
h
lberg
refs
.
c:
m
a
k
e ref_t
r
ansa
c
tio
n
_
b
egin take a
n
e
rr argu
m
ent
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlb
e
r
g
refs
.
c: update ref
_
trans
a
ction_d
e
lete t
o
c
h
e
c
k
for
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sahlber
g
r
e
fs
.
c: ch
a
n
g
e ref
_
transaction_create to
d
o
erro
r
checking
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sah
l
berg
refs
.
c
:
add
a
public is_branch fun
c
tion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c:
c
hange ref_transact
i
on_updat
e
() to do
e
rror
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlbe
r
g
refs
.
c: remove
t
he
o
n
e
rr argum
e
nt to re
f
_tra
n
saction_commit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlberg
u
pda
t
e
-
ref: use
e
rr argum
e
nt t
o
get error from ref_tr
a
nsacti
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e Sahlberg
refs
.
c
:
make update_re
f
_
write update a strbuf on failure
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahlb
e
rg
refs
.
c: make ref_update_
r
eject_duplicates take a strbuf
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onni
e
Sa
h
lberg
ref
s
.
c: log_ref_writ
e
sho
u
ld try t
o
return meaningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie Sahlber
g
re
f
s
.
c
:
make reso
l
ve_re
f
_unsafe
set
e
r
r
no to someth
i
ng
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: c
o
mmit_pack
e
d_refs to return a meaning
f
u
l errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
S
ahlbe
r
g
re
f
s
.
c: make remo
v
e
_empty_direc
t
ories
always set errn
o
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlb
e
rg
refs
.
c: veri
f
y_lo
c
k should
set errno to somet
h
i
ng
m
e
a
n
ingf
u
l
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlb
e
r
g
ref
s
.
c
:
make sure
l
o
g
_
r
e
f
_se
t
up returns a
m
eaningfu
l
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
ref
s
.
c:
a
dd an err argument to re
p
ack_wi
t
hout_re
f
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
S
a
h
lbe
r
g
l
ockfile
.
c: make l
o
c
k
_file return a m
e
aningful er
r
no
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
lockfi
l
e
.
c: add a new public fun
c
tion u
n
able_to_loc
k
_message
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onni
e
Sa
h
lberg
refs
.
c:
a
dd a
strbuf arg
u
m
e
n
t
to ref_transacti
o
n_commit
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlbe
r
g
r
e
fs
.
c
: allow
p
assing NUL
L
to ref_transaction
_
free
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sa
h
l
berg
r
efs
.
c: cons
t
if
y
the sha
a
r
g
uments for
r
ef_t
r
ansaction_
c
reat
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
ref
s
.
c
: ref_transaction_commi
t
should n
o
t
f
r
e
e
the
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
i
e
Sahlberg
refs
.
c: remove ref_transaction_rollback
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie S
a
hlberg
enums: remov
e
trailing ',' afte
r
l
a
st item in enu
m
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ro
n
nie Sahlberg
enums:
remo
v
e trailing '
,
' after last ite
m
in enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-06-03
Ronn
i
e Sahlberg
r
e
fs
.
c:
c
ha
n
ge
read
_
ref_at to use the ref
l
og iterators
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie Sahlberg
checkout
.
c: use ref_exists instead of file_exi
s
t
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie
S
a
h
lb
e
r
g
refs
.
c: add new f
u
nc
t
ions refl
o
g_exists an
d
delete_
r
eflog
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie Sahlberg
com
m
it
.
c
: c
h
e
c
k for lock error and r
e
tu
r
n early
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
R
o
nnie Sahlberg
sequencer
.
c: check for lock failure and bail e
a
rl
y
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree