repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
refs.c: refuse to lock badly named refs in lock_ref_sha1_basic
2014-10-15
R
o
n
ni
e
Sahlbe
r
g
r
efs
.
c: re
f
use
to lock badly
named refs in lock_r
e
f_sha1_basic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
nnie Sahlbe
r
g
renam
e
_ref: don't ask read_r
e
f_full where the ref cam
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e Sah
l
berg
refs
.
c: pass the re
f
log message to _
c
reate/
d
ele
t
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sah
l
b
erg
refs
.
c: add an er
r
argument to delete_ref_lo
o
se
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
wrapper
.
c: add a new
f
u
nction
unlink_o
r
_msg
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sahlberg
r
e
fs
.
c: lock_ref_sha1_basic is used for a
l
l ref
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
a
hlberg
wrapper
.
c: remove/unlink_or_war
n
: simplify, treat ENOENT
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
Sa
h
l
b
erg
r
efs
.
c
:
make delete_ref use a trans
a
ction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
fs
.
c:
m
ake
p
r
une_ref us
e
a
t
ransaction to
delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronni
e
S
a
hlberg
refs
.
c: remove lock_ref_sha1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie
Sahlberg
refs
.
c: remo
v
e
t
h
e update
_
ref_w
r
i
t
e
funct
i
o
n
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlb
e
r
g
r
efs
.
c: remove t
h
e update_ref_lock function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sah
l
be
r
g
refs
.
c: make lock
_
ref_sha
1
st
a
t
i
c
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
on
n
ie Sahlberg
walker
.
c
:
use r
e
f t
r
an
s
action for ref u
p
dates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlbe
r
g
fast-import
.
c: u
s
e a
r
ef
t
ransaction when dum
p
ing ta
g
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie
S
ahl
b
e
r
g
re
c
eive-pack
.
c
:
use
a ref
e
rence transaction
for u
p
dati
n
g
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ron
n
i
e
Sahlberg
refs
.
c
: change update_ref to us
e
a
tran
s
act
i
on
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie Sahlbe
r
g
b
ranch
.
c: use
r
ef
t
ransaction for
a
l
l ref u
p
d
a
tes
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie Sahlberg
fast-imp
o
rt
.
c: ch
a
nge u
p
date_branc
h
to use r
e
f transactio
n
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
n
nie
Sahlbe
r
g
seque
n
cer
.
c: use ref transa
c
tions f
o
r all ref updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlb
e
r
g
commit
.
c: use ref transa
c
tions
fo
r
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
a
hlberg
r
eplace
.
c: u
s
e the ref t
r
a
nsaction
functions for u
p
dates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
tag
.
c: use ref transactions when
d
oing updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sa
h
lber
g
r
e
f
s
.
c: add
tran
s
action
.
s
t
atus and track O
P
EN/CLOS
E
D
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: m
a
ke r
e
f
_
transacti
o
n_begin take an e
r
r
a
r
g
u
me
n
t
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie Sahlberg
r
ef
s
.
c: u
p
date ref_
t
ransaction_delete to check
f
or
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
fs
.
c: change ref_transa
c
tion_create
t
o do error checking
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie Sa
h
l
berg
refs
.
c:
a
dd a public is_branch function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlbe
r
g
refs
.
c: change ref_
t
r
ansactio
n
_
update() to d
o
er
r
or
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
r
efs
.
c: remove the o
n
err arg
u
ment to re
f
_transact
i
on_
c
ommit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
u
pdate-ref: use
err argument to get e
r
r
or
fr
o
m ref_transacti
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onn
i
e Sahlbe
r
g
r
e
fs
.
c: mak
e
update_
r
ef_write upda
t
e
a
strbuf on failur
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
S
ahlbe
r
g
re
f
s
.
c: make ref_up
d
at
e
_re
j
e
c
t_dupli
c
a
tes take a strbuf
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sahlberg
r
e
fs
.
c
:
l
og_ref_wr
i
te should try to return
m
e
a
ningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e Sahlberg
re
f
s
.
c: make r
e
so
l
ve_
r
ef_un
s
afe set errno to s
o
m
ething
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: c
o
mmit_
p
acked_refs to retu
r
n a meaningfu
l
errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie S
a
hlberg
r
ef
s
.
c: make remove_empt
y
_di
r
ectori
e
s always
set errn
o
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sahlberg
refs
.
c: verify_
l
o
c
k sho
u
ld
s
e
t err
n
o to something me
a
n
ingful
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie
Sahlberg
refs
.
c: mak
e
sure log_ref_setup re
t
ur
n
s
a
meaningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie S
a
hlberg
r
e
f
s
.
c
:
add
an e
r
r argume
n
t
to
r
e
p
ack
_
without_ref
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
S
a
h
l
berg
lockfile
.
c: make
l
ock_fil
e
return a
m
e
a
ningful errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sah
l
berg
l
oc
k
fi
l
e
.
c: ad
d
a
n
ew public function unable_to_lock_message
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie S
a
hlbe
r
g
re
f
s
.
c: add a s
t
rbuf a
r
gument
t
o ref_tran
s
action
_
co
m
m
i
t
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
i
e
Sahlbe
r
g
refs
.
c
: al
l
ow passing NULL to
ref_tr
a
nsac
t
ion_f
r
ee
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
Sahlber
g
refs
.
c: constify the
s
h
a
arg
u
men
t
s
for ref_tr
a
n
s
action_creat
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie Sahlberg
r
efs
.
c
:
ref_transaction_commit s
h
ould
not free the
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahl
b
erg
r
e
fs
.
c: remo
v
e
r
ef
_
transaction_rollback
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ro
n
n
i
e Sahl
b
erg
enum
s
: remove tra
i
ling ',' after last
i
te
m
i
n
enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie Sahlbe
r
g
en
u
ms: r
e
m
o
ve trailing ',' after l
a
s
t
item in enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-06-03
Ronnie
S
a
hlb
e
rg
re
f
s
.
c: c
h
an
g
e
r
e
a
d_ref_at to use the re
f
log iterators
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie Sahl
b
erg
checkout
.
c: use
r
ef_ex
i
sts
instead of
fi
l
e_
e
xist
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ronni
e
S
ahlberg
re
f
s
.
c: add new functio
n
s
r
eflo
g
_exi
s
ts and
d
el
e
t
e_reflog
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie Sahlb
e
rg
commi
t
.
c: c
h
eck for lock error
an
d
r
e
turn early
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie Sahlberg
se
q
uencer
.
c: check fo
r
lock fai
l
u
r
e
a
nd bail early
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree