repo.or.cz
/
git
/
raj.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Fourth batch
2016-09-09
Ronnie Sahlberg
refs: add a trans
a
ction_commit() method
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2016-09-09
R
o
n
nie Sahlberg
refs: add a backen
d
method
s
tru
c
ture
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-11-20
Ronnie
Sahlberg
ver
i
fy_refname
_
avail
a
ble():
new function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-11-20
Ronnie Sahlbe
r
g
v
erify_r
e
fname_availab
l
e(
)
: r
e
name function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronnie Sahlberg
push
.
c: a
d
d an --
a
tomic ar
g
u
ment
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ron
n
i
e Sahlberg
s
e
n
d-
p
ac
k
.
c: a
d
d --atomic command lin
e
argument
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronnie Sahlbe
r
g
recei
v
e
-
pa
c
k
.
c: negotiate ato
m
i
c pus
h
support
commit
|
commitdiff
|
tree
2014-12-22
R
onnie
S
ahlberg
r
e
f
s
.
c: remo
v
e unlock
_
ref/cl
o
se_ref
/
commi
t
_r
e
f
from
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-12
Ron
n
i
e
S
a
hlberg
r
efs
.
c
:
add
a
function
to append a re
f
log
entry to
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-04
Ronnie Sahlberg
r
e
fs
.
c:
m
a
ke ref_
t
r
ansacti
o
n
_delete a wrapper
for ref_t
r
an
s
a
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-04
Ronn
i
e
Sahlberg
r
e
f
s
.
c: make ref_tr
a
n
s
a
c
t
ion_c
r
ea
t
e a wrapper for
ref_transa
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-11-20
Ronnie Sahlberg
lock_ref_
s
ha1_basi
c
: do not die
on lo
c
king er
r
ors
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahl
b
erg
remote rm/prune: print a mes
s
age when w
r
iting pack
e
d
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlber
g
for-each-ref: skip
and
warn about b
r
o
k
en ref names
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
refs
.
c: a
l
low listing an
d
deleting badly name
d
refs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlber
g
test: put test
s
for handling
of b
a
d ref names i
n
o
n
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
n
nie Sahlberg
branch -d: sim
p
l
i
fy
b
y using RESOLVE_REF_READ
I
N
G
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronni
e
Sahlberg
re
f
s
.
c: change resol
v
e_
r
ef_unsafe
readi
n
g argument
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronni
e
Sahl
b
erg
refs
.
c: make
w
r
ite
_
ref_
s
ha1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
nie S
a
hl
b
erg
fetch
.
c:
c
hang
e
s_upd
a
te_ref to
u
s
e
a
r
e
f tr
a
nsact
i
on
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
a
h
l
berg
re
f
s
.
c: ref_transaction
_
commit:
distingui
s
h
name c
o
n
f
licts
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
nie Sahlberg
re
f
s
.
c: pass a list of
names to
s
kip
to is_refname_avail
a
ble
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
refs
.
c
:
call lock_
r
ef_sha1_basic d
i
rectly
from commit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e Sahlberg
refs
.
c
:
refuse to lock
badly
n
a
m
ed ref
s
in lock_re
f
_sha1_basic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sa
h
lberg
rename_ref:
d
on't ask rea
d
_ref_full where th
e
ref ca
m
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie S
a
h
l
berg
refs
.
c: pas
s
the ref l
o
g
mes
s
age to _cre
a
t
e/
d
e
l
ete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sah
l
berg
refs
.
c: add
an
err argume
n
t to del
e
te
_
r
ef_loose
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
wrapper
.
c:
add a n
e
w
function unlink_o
r
_msg
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahl
b
erg
re
f
s
.
c: lock_ref_
s
ha1_ba
s
i
c is used
f
o
r
a
ll refs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
nnie Sahl
b
erg
wrapper
.
c
:
r
e
move
/
unlin
k
_or_warn
:
simplify,
t
rea
t
ENOENT
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
fs
.
c: make
d
elete_ref use a transact
i
on
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sa
h
lberg
refs
.
c: make prune_ref
u
se a tr
a
nsac
t
ion to delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: remove lock_r
e
f
_
sha1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie Sahlberg
refs
.
c
:
remove the update_ref_write function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie S
a
hlberg
refs
.
c: r
e
mov
e
the update_ref_lock function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sah
l
berg
r
e
fs
.
c:
make loc
k
_ref_sha1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
on
n
i
e
Sa
h
lberg
walker
.
c: use ref
transactio
n
f
o
r re
f
u
pdate
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
a
hl
b
erg
f
ast-import
.
c
:
use
a
r
e
f tra
n
sacti
o
n when dump
i
ng
tags
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ron
n
ie Sahlberg
receiv
e
-pa
c
k
.
c
:
use a referen
c
e transaction for updating
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
n
i
e Sahlberg
ref
s
.
c: change
update_ref to use
a
t
ran
s
action
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nni
e
Sahlb
e
rg
branch
.
c: use
r
ef transaction for all r
e
f updat
e
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahl
b
erg
f
ast
-
impo
r
t
.
c: chan
g
e
u
pd
a
te_branch
t
o
u
s
e ref transactions
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlber
g
sequencer
.
c: use ref
tra
n
s
a
ctions for all ref updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
n
nie Sahlberg
c
omm
i
t
.
c: use ref transactions fo
r
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
n
i
e Sahlber
g
repla
c
e
.
c:
u
se the
r
ef tr
a
nsa
c
tion fun
c
tions for up
d
ates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie Sa
h
lber
g
tag
.
c
:
use r
e
f transactions
when doing updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahl
b
e
rg
r
e
fs
.
c: add tr
a
nsaction
.
st
a
tu
s
and t
r
ack OP
E
N/CLOSED
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlber
g
refs
.
c: m
a
ke ref_tra
n
sac
t
ion_begin t
a
ke an e
r
r arg
u
ment
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nn
i
e Sahlberg
r
e
fs
.
c:
u
p
date ref_
t
r
a
nsacti
o
n_delete to check for
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie S
a
hl
b
erg
r
efs
.
c: change
r
ef_trans
a
ction_cre
a
te to do
error checkin
g
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronnie
S
a
h
l
b
e
r
g
r
e
fs
.
c: add a pub
l
ic is_branch fun
c
tion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: change ref_tran
s
a
c
tion_update() to do er
r
or
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie S
a
hlb
e
rg
r
e
f
s
.
c: remove the onerr argu
m
ent
t
o
ref_
t
ran
s
a
c
tion_commit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlb
e
rg
update-ref: use
e
rr argument to get e
r
ror from ref_
t
r
ansacti
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sa
h
l
b
erg
r
efs
.
c
:
make u
p
date
_
ref_wr
i
te
update a strbu
f
on failure
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlberg
refs
.
c:
m
ake
ref_update_re
j
ect_duplicates t
a
ke a
strbuf
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie
S
ahlbe
r
g
r
efs
.
c:
lo
g
_
ref
_
write should
t
ry to return m
e
a
ningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie Sahl
b
e
rg
refs
.
c: make resolve_ref
_
unsaf
e
set errno to
s
ome
t
hing
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c
: co
m
mit_packe
d
_refs
t
o return a
m
eaningf
u
l errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e Sahlberg
refs
.
c
:
make remove_empty_d
i
r
e
ctories always set
e
r
rno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahlberg
refs
.
c: ve
r
ify_lock should set
e
rrno
to something me
a
ningful
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlb
e
rg
r
efs
.
c: make sure log_ref_setup
r
eturns
a
meaning
f
u
l
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: a
d
d an err argu
m
ent to
r
epack_without_
r
efs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
n
ni
e
S
ahlberg
lo
c
k
f
ile
.
c: mak
e
l
ock_file
retur
n
a
meaningf
u
l errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sa
h
lberg
lockfile
.
c: add
a new public functio
n
unable_to_
l
ock_message
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
on
n
i
e
Sa
h
l
be
r
g
refs
.
c
:
a
d
d a strbuf argument
t
o ref_transaction_commit
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie Sahlberg
refs
.
c:
a
l
low passing NULL to ref_tran
s
action_free
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlb
e
rg
refs
.
c:
constify
the sha argu
m
en
t
s for re
f
_transac
t
ion_c
r
ea
t
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sah
l
berg
refs
.
c: ref_tr
a
nsa
c
t
ion_commit sho
u
ld n
o
t
free the
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nn
i
e Sa
h
lberg
re
f
s
.
c: remove r
e
f_tran
s
a
c
tion_rollba
c
k
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie Sahlberg
enums: remove
t
railin
g
',' afte
r
last item in enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronn
i
e Sahlberg
enum
s
:
r
emov
e
trailing
'
,' after last item in enu
m
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-06-03
Ronnie S
a
hlbe
r
g
refs
.
c: c
h
ange read_re
f
_
at to use the reflog
i
t
e
rators
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
R
o
nnie Sahlbe
r
g
checko
u
t
.
c: us
e
ref_exists instead
of
file_exist
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie Sah
l
berg
refs
.
c: add new functions re
f
log_exist
s
an
d
delete_
r
eflog
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie Sahlberg
comm
i
t
.
c
: c
h
eck for lock error
a
nd return e
a
rly
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie Sahlbe
r
g
sequencer
.
c: check for loc
k
failure and
bail ea
r
ly
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree