repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
refs: break out ref conflict checks
2015-11-20
Ronnie Sa
h
lbe
r
g
verify_refname_avai
l
ab
l
e(): new func
t
ion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-11-20
Ronnie
S
a
hl
b
erg
verify_ref
n
ame_
a
va
i
lable(): rename function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronnie Sahlb
e
rg
pus
h
.
c: add an
-
-a
t
o
mic argument
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronnie Sahlberg
s
end-pack
.
c: add --ato
m
ic com
m
an
d
line
ar
g
u
m
ent
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronnie Sah
l
berg
rece
i
ve-pack
.
c: negotia
t
e atomi
c
push s
u
pport
commit
|
commitdiff
|
tree
2014-12-22
R
o
nnie Sahlberg
refs
.
c: rem
o
v
e
unlock_ref/
c
lo
s
e_re
f
/comm
i
t_ref f
r
o
m
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-12
Ronnie Sahlberg
r
ef
s
.
c:
a
d
d
a
f
unction to
append
a
r
ef
l
og e
n
try to
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-04
Ro
n
nie Sahlberg
r
efs
.
c: make r
e
f_transact
i
o
n
_delete a wrapper for
r
e
f
_transa
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-04
R
on
n
ie Sahl
b
e
rg
refs
.
c:
m
ake
ref_transaction_c
r
e
a
te
a wrappe
r
for ref_transa
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-11-20
Ro
n
nie
S
ahlberg
lock_r
e
f_sh
a
1_basic:
d
o
not die on locki
n
g e
r
r
ors
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
nnie Sahlberg
r
emote rm/
p
rune:
p
rint a mess
a
g
e
wh
e
n
w
r
iting packed
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
nie Sahlberg
fo
r
-eac
h
-ref: skip and warn about broken ref nam
e
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onn
i
e Sahlbe
r
g
ref
s
.
c: allow list
i
ng a
n
d deleting badly named
r
efs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie S
a
hlberg
tes
t
: put test
s
for handli
n
g of bad re
f
nam
e
s i
n
one
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sahl
b
erg
b
r
a
n
ch -d: simplify by
u
sing RESOLVE_
R
EF_
R
EADING
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sah
l
b
e
rg
refs
.
c:
change resolve_re
f
_
u
n
saf
e
readin
g
a
r
gume
n
t
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
Sahl
b
erg
r
e
fs
.
c: make
write_ref_sha1 s
t
atic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
a
hlberg
fetch
.
c:
c
h
ange s_u
p
date_ref to
use a
ref transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronni
e
S
a
hlberg
r
e
fs
.
c: ref_transaction_commit: d
i
stinguish name conflicts
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie S
a
h
l
ber
g
re
f
s
.
c:
pass a list of
n
ames to skip to is_refname_available
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlb
e
rg
refs
.
c: call loc
k
_
ref
_
sha
1
_b
a
s
ic
d
irectly
f
rom commit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
on
n
ie Sahlberg
ref
s
.
c: ref
u
se to l
o
ck badly named refs in l
o
ck_
r
ef_s
h
a1_b
a
sic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e S
a
hl
b
erg
rename_ref: don't ask read_ref_full wh
e
re the ref came
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
n
n
i
e Sahlberg
ref
s
.
c:
p
ass the ref
l
og message to _create/delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sahl
b
erg
refs
.
c: add a
n
err argument to delete_
r
ef_loo
s
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahl
b
erg
w
r
ap
p
er
.
c: add a new f
u
n
c
tion un
l
ink_or_msg
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e Sahlber
g
r
efs
.
c: lock_ref
_
s
ha1_basic is
used
f
or
a
ll refs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
wrapper
.
c: re
m
o
ve
/
unlink
_
or_w
a
rn: simp
l
ify, treat
E
N
OEN
T
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e
S
ahlber
g
r
e
fs
.
c: make delete_ref use a
t
ransaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e Sahlberg
re
f
s
.
c: make prune_ref u
s
e a transacti
o
n
t
o delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: remove lock_ref_s
h
a1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
Sah
l
berg
refs
.
c: remove the update_ref_w
r
ite fun
c
tion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sah
l
b
erg
refs
.
c:
remove the up
d
a
t
e
_ref_l
o
ck
function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronni
e
Sahlbe
r
g
refs
.
c: make l
o
ck_ref
_
sha1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
onnie Sahlberg
walker
.
c: use
r
ef tra
n
saction for
r
ef updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
ni
e
S
a
h
lberg
fast-import
.
c: use a ref t
r
a
nsact
i
o
n
whe
n
dumping
t
ags
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
onnie
Sahlb
e
rg
receive-pack
.
c: use a r
e
fere
n
c
e transaction for up
d
a
ting
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
f
s
.
c: change updat
e
_ref to use
a
transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
b
ranch
.
c: u
s
e ref transaction
for
all ref updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sahlb
e
rg
fa
s
t-impor
t
.
c: ch
a
ng
e
update_branch to use ref tr
a
nsa
c
tions
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sahlber
g
sequenc
e
r
.
c
:
use ref tr
a
ns
a
cti
o
ns
for all re
f
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlbe
r
g
commit
.
c
:
use
r
ef transactio
n
s
f
o
r updat
e
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sah
l
b
erg
replace
.
c: use
the ref transaction functions for
update
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sa
h
lberg
tag
.
c:
use ref
tran
s
a
ctions wh
e
n doing u
p
dates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e Sahlber
g
refs
.
c: ad
d
tran
s
ac
t
ion
.
status and tr
a
ck OPEN/CLOSED
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
Sahlber
g
refs
.
c: make
ref_transaction_begin take
an
err argument
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie S
a
hlberg
refs
.
c: upda
t
e
ref_tran
s
action_
d
elete to
c
heck
f
or
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronni
e
Sahlberg
refs
.
c: change ref_tr
a
ns
a
ction_create
t
o do err
o
r
check
i
ng
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ronn
i
e Sahl
b
erg
refs
.
c: add a
p
u
blic is_bran
c
h function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sah
l
berg
refs
.
c: c
h
ange ref_transa
c
tion_upda
t
e() to do error
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e
Sahlberg
refs
.
c:
r
e
move t
h
e onerr ar
g
ume
n
t to
ref_tr
a
nsaction_co
m
mit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sa
h
lb
e
rg
u
p
date
-
ref: use err argu
m
e
n
t
to
get erro
r
from ref_transacti
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
Sahlberg
r
e
fs
.
c: make update_ref_w
r
ite update a strbu
f
on failur
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sah
l
ber
g
ref
s
.
c:
m
ake ref
_
u
p
date_reject_duplicates ta
k
e
a
strbuf
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie
S
ahlberg
refs
.
c:
l
og_ref_wr
i
te should try to return meaningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
S
ahl
b
er
g
r
e
fs
.
c: make resolve_r
e
f_un
s
a
f
e
set
e
rrno
to somethi
n
g
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
Sahlberg
refs
.
c
: commit_packed
_
r
efs to
ret
u
rn a meaningful errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie S
a
h
l
ber
g
refs
.
c: m
a
ke rem
o
ve_empty_di
r
ect
o
ries alway
s
set e
r
rno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
re
f
s
.
c: verify_lock shoul
d
se
t
er
r
no to
s
om
e
thing mea
n
i
ngful
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
r
e
fs
.
c: mak
e
sur
e
l
o
g_ref
_
s
etup returns a meaningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie S
a
h
lberg
refs
.
c: add an err argu
m
e
nt to repack_without_r
e
f
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlber
g
l
ockfile
.
c
:
make lock_file return a mean
i
ngful e
r
rno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahl
b
erg
l
ockfile
.
c
:
add a
new publ
i
c
function unable_to_lock
_
message
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sa
h
lberg
refs
.
c
: add a s
t
rbuf argument to re
f
_
trans
a
ction_commi
t
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e Sahlberg
refs
.
c
: allow pas
s
ing
NULL to ref_tra
n
s
action_free
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie Sahlberg
refs
.
c
:
constify the
s
ha arguments for ref_tra
n
sa
c
ti
o
n_creat
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: ref_trans
a
ction_co
m
m
i
t
should not free the
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nni
e
Sahlberg
ref
s
.
c
:
re
m
o
v
e
ref_transaction_r
o
ll
b
ac
k
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
R
on
n
ie Sa
h
lber
g
enums: remo
v
e trail
i
ng ',' after l
a
st it
e
m in enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie Sahlberg
en
u
ms: remove tra
i
ling ',' after la
s
t ite
m
in enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-06-03
Ronnie Sahlberg
refs
.
c: change
re
a
d_ref_a
t
to use the re
f
log iterat
o
r
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie Sahlberg
checkout
.
c
:
use r
e
f_exists instead of file
_
e
x
ist
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
R
o
nnie
S
ahlberg
refs
.
c: add new
f
unctions reflo
g
_exists and delete_reflog
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
R
onnie S
a
hlberg
com
m
it
.
c: check for lock
e
rror and retu
r
n early
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ro
n
nie S
a
hlberg
sequ
e
ncer
.
c: chec
k
f
o
r
lock failure and bail early
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree