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
Fifth batch for 2.11
2016-09-09
Ro
n
nie Sahlberg
refs: add a trans
a
ction_commit
(
) metho
d
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2016-09-09
Ronnie Sahlberg
r
e
fs:
ad
d
a back
e
nd
method structure
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-11-20
Ronnie Sah
l
berg
ver
i
f
y_re
f
name_av
a
ilable(
)
: new fun
c
tion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-11-20
Ronnie Sahlbe
r
g
verify_re
f
name_availabl
e
(): re
n
ame f
u
nction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronnie Sahl
b
erg
p
ush
.
c: add an --ato
m
ic argument
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronnie Sah
l
berg
send-pack
.
c: add --atomic comm
a
nd line argument
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
R
o
n
n
i
e
Sahlberg
receive-pack
.
c
: negotiate a
t
om
i
c
p
ush suppo
r
t
commit
|
commitdiff
|
tree
2014-12-22
Ronnie Sahlberg
refs
.
c:
r
em
o
ve unlo
c
k_ref/close_ref/commit_ref
f
rom
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-12
Ronnie Sa
h
lberg
refs
.
c
:
add a f
u
n
ction to append a
ref
l
og entry to
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-04
Ronnie
Sahlb
e
rg
refs
.
c
: make ref_tr
a
nsaction_delete a wr
a
pper for ref
_
transa
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-04
Ronnie Sahlberg
refs
.
c: ma
k
e
r
ef
_
transa
c
t
i
on_cr
e
ate a
wrap
p
e
r
for r
e
f_tr
a
nsa
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-11-20
Ronnie Sahlberg
lock_ref_sh
a
1_basic
:
do not
d
ie on locking errors
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
ahl
b
erg
re
m
ot
e
rm/prun
e
: print a messag
e
w
h
e
n
writing p
a
cked
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie S
a
hl
b
erg
for-each-ref: skip an
d
warn
a
bout broken ref names
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie S
a
hlberg
refs
.
c
:
allow li
s
ting and deleting
b
adly named
r
efs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
test: put tests for handling o
f
b
ad ref
n
ames in on
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronni
e
Sahlberg
br
a
nch -
d
: s
i
mplify by us
i
ng
R
E
S
O
LVE_RE
F
_REA
D
ING
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahl
b
e
rg
refs
.
c: change r
e
solve_re
f
_unsafe reading
argument
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
n
n
ie S
a
hlberg
refs
.
c: ma
k
e
write_r
e
f_sha1 s
t
atic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sah
l
be
r
g
fetc
h
.
c: chang
e
s_update_ref to use a
ref transa
c
tion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
a
h
lberg
refs
.
c: ref_transaction_commi
t
:
distin
g
uis
h
name conflicts
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
Sa
h
lberg
ref
s
.
c: pass a list of names to
s
k
ip to
is_refname_avai
l
abl
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
refs
.
c: cal
l
lock_r
e
f_sha1_basic directly
f
rom comm
i
t
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sah
l
berg
refs
.
c: refus
e
to l
o
c
k
badly named
refs in lock_ref_sha1_
b
asic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ron
n
ie Sah
l
berg
renam
e
_ref:
don't a
s
k read_ref_
f
ull whe
r
e
t
h
e ref came
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlber
g
refs
.
c
:
p
ass the ref lo
g
message to _
c
r
eate/delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e S
a
hlbe
r
g
refs
.
c: add
a
n
err argumen
t
to delete_ref_loose
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e Sahlb
e
r
g
wrapper
.
c: add a new
f
uncti
o
n unli
n
k
_
or_msg
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
nie
S
a
hlberg
r
e
f
s
.
c: lock_r
e
f
_sha1_basic
i
s used
for all
refs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
nie Sahlberg
wrapper
.
c: rem
o
ve/
u
nlink_or_warn: simpli
f
y, treat
E
NOENT
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: make delete_re
f
use a
transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sahl
b
erg
refs
.
c: make
p
r
u
ne_re
f
use a transaction
t
o d
e
lete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c
:
remov
e
lock_ref_
s
ha1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
n
ie Sahlberg
r
ef
s
.
c
:
remove
t
h
e
update_re
f
_w
r
ite fun
c
tion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e
Sahlb
e
rg
re
f
s
.
c: remo
v
e the update_ref_lock
f
unction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sah
l
berg
refs
.
c:
make lock_ref
_
sha1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sahlberg
walker
.
c:
us
e
ref transac
t
i
o
n for ref upda
t
es
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
Sa
h
lberg
fas
t
-impo
r
t
.
c: u
s
e
a r
e
f transaction
w
h
en
dumping tags
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahl
b
erg
r
eceive-pack
.
c
:
u
s
e a refe
r
ence transactio
n
fo
r
updating
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ron
n
i
e Sahlberg
re
f
s
.
c:
c
hange update_ref to
u
se a transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronni
e
S
ahlberg
branch
.
c
:
u
se ref t
r
ansac
t
i
o
n for all ref updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
ahlberg
f
a
s
t-im
p
ort
.
c: change update_br
a
nch to use ref tr
a
nsactions
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sahlber
g
sequencer
.
c: u
s
e re
f
transac
t
ions for all ref
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie S
a
hlberg
c
o
mmit
.
c: us
e
r
e
f tr
a
nsa
c
t
i
o
ns
f
o
r updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
onnie Sahlberg
r
epla
c
e
.
c: us
e
t
h
e
ref transactio
n
function
s
for updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
tag
.
c
:
use ref tra
n
s
a
c
tions when doing updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e Sa
h
lber
g
refs
.
c:
a
dd
tra
n
s
a
ction
.
st
a
tu
s
and
t
ra
c
k OPEN
/
CLOSED
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ron
n
i
e
Sahlberg
refs
.
c: make ref_tr
a
nsaction_be
g
in take an err argument
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: u
p
date ref_transacti
o
n_delete to check for
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: cha
n
ge ref_t
r
ansactio
n
_create to d
o
e
rror chec
k
ing
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ron
n
i
e
Sahlb
e
rg
refs
.
c: add
a
p
ub
l
ic is
_
branch function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlb
e
rg
r
e
fs
.
c: change re
f
_tra
n
saction_update() t
o
do e
r
ror
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e Sahlberg
refs
.
c
: remove
t
he one
r
r argument to ref_transaction_c
o
mmit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
n
nie Sahlberg
u
p
date-ref: use e
r
r argument to get
e
rro
r
f
r
om ref_t
r
ansacti
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
i
e S
a
hlberg
r
efs
.
c: make up
d
ate_r
e
f_write update a
strbu
f
on fa
i
lure
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sahlbe
r
g
ref
s
.
c: make ref_update_reject_duplicates take a strbuf
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
n
n
ie Sahlberg
refs
.
c
:
log_ref_write should try to return
m
e
a
ningf
u
l
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie Sa
h
lbe
r
g
refs
.
c: make res
o
l
v
e_ref_unsaf
e
set err
n
o to
somethi
n
g
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlbe
r
g
ref
s
.
c:
c
om
m
it_packe
d
_refs to return
a
mea
n
ingful errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
r
efs
.
c
: make remove_empty_
d
irectories
always set errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sa
h
l
berg
ref
s
.
c: verify_lock should set
errno to something mean
i
ngful
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sahlberg
refs
.
c: make sure log
_
ref_setup re
t
u
rn
s
a
meaningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie
S
ahlbe
r
g
ref
s
.
c: add an er
r
argument to rep
a
ck_without_r
e
fs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
l
ockfile
.
c: mak
e
lock_file
re
t
urn a meaningful errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahlbe
r
g
loc
k
file
.
c
: add a new public f
u
nc
t
io
n
unable_t
o
_lock
_
me
s
sage
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: add a strb
u
f argumen
t
to ref_t
r
ansaction_comm
i
t
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
i
e Sahlbe
r
g
r
e
fs
.
c: al
l
ow p
a
ssing NULL to ref_t
r
ansaction_free
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sa
h
lberg
refs
.
c: constify
t
he s
h
a arguments for ref_t
r
ansaction
_
creat
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sah
l
b
erg
ref
s
.
c:
ref_tr
a
nsaction_commit should
not f
r
ee the
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie S
a
hlb
e
r
g
refs
.
c: r
e
mov
e
ref_transac
t
ion_rol
l
b
a
ck
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ron
n
ie S
a
h
lberg
enums: rem
o
ve tr
a
iling ','
a
fter
last item in enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie
Sa
h
lbe
r
g
enums: rem
o
v
e
tr
a
iling ',' af
t
er last item
i
n
enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-06-03
Ronnie Sahlberg
r
e
fs
.
c
:
change
r
e
ad_ref_at t
o
use
t
h
e
reflog ite
r
ators
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
R
o
nnie Sahl
b
erg
checkout
.
c: use ref_exists instead of file_
e
xist
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie
Sahlbe
r
g
refs
.
c: add
n
ew functions re
f
lo
g
_exists and
d
elete_re
f
log
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronni
e
Sahl
b
e
rg
commi
t
.
c: check fo
r
lock error and
retu
r
n e
a
rly
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ron
n
ie Sahlb
e
r
g
sequ
e
n
cer
.
c
:
c
h
ec
k
for lock failure and bail
early
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree