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
use QSORT, part 2
2016-09-09
Ronnie Sahlberg
refs:
add a transactio
n
_c
o
mmit() method
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2016-09-09
Ronnie Sahlbe
r
g
refs: ad
d
a b
a
ckend m
e
thod structur
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-11-20
Ron
n
i
e Sahlb
e
r
g
verify
_
r
efname_available():
n
ew fun
c
tion
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-11-20
Ronnie Sahl
b
erg
ve
r
ify_ref
n
ame_available(): rename funct
i
on
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronnie Sahlb
e
r
g
push
.
c: add an --ato
m
i
c
a
rgument
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ronni
e
Sahl
b
erg
send-pac
k
.
c: add
-
-atomic com
m
and
l
i
n
e
arg
u
ment
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2015-01-08
Ro
n
ni
e
Sahlbe
r
g
receive-pack
.
c: n
e
gotiate atomic push su
p
po
r
t
commit
|
commitdiff
|
tree
2014-12-22
Ronnie
S
ahl
b
erg
ref
s
.
c: r
e
move
unlock
_
r
e
f/close_re
f
/comm
i
t
_
ref
f
rom
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-12
Ronnie Sa
h
l
berg
ref
s
.
c: add a function
to a
p
p
end a r
e
fl
o
g ent
r
y to
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-04
Ronnie Sahlberg
refs
.
c: make
ref_trans
a
ction
_
d
ele
t
e a wrapper for
r
ef_transa
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-12-04
Ronnie Sahlbe
r
g
refs
.
c: m
a
ke ref_transactio
n
_creat
e
a
w
r
appe
r
for
ref_tra
n
sa
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-11-20
Ronnie Sahlberg
lock_
r
ef_sha1_basi
c
: do
not
d
ie on locking errors
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlb
e
rg
remote rm/
p
rune:
p
ri
n
t a message when writing
packed
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e
Sah
l
b
e
r
g
for-each-
r
ef: ski
p
and
w
arn abou
t
b
r
o
ken ref
n
am
e
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
ahlberg
r
ef
s
.
c
: allow li
s
ting
a
nd deletin
g
badly named refs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
test: put tests fo
r
handlin
g
of bad ref names in on
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlbe
r
g
branch -d:
simplify by us
i
ng RESOLVE_R
E
F
_
READING
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
Sahlb
e
rg
refs
.
c: c
h
ang
e
resolve_ref_unsa
f
e
reading
argume
n
t
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronni
e
Sahlberg
r
e
f
s
.
c: m
a
k
e
write_
r
ef_s
h
a
1
st
a
tic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
nie Sahlberg
f
e
t
c
h
.
c
: change
s
_update_ref
t
o use a ref transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlbe
r
g
r
e
fs
.
c: ref_trans
a
ction
_
commi
t
: dist
i
ngui
s
h name conf
l
icts
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
refs
.
c: pass a list
of
names to skip to is_re
f
na
m
e_available
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
r
e
f
s
.
c:
c
a
ll lock_ref_s
h
a
1_basic directly from commi
t
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
n
n
ie
Sahlbe
r
g
refs
.
c: refuse to lock badly
named r
e
fs in
l
ock
_
ref
_
sha1_basic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
S
ahlberg
rename_r
e
f: don'
t
ask
read_ref_full where the ref came
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sahlberg
refs
.
c:
p
as
s
the
ref log m
e
s
sage to _create/delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sah
l
berg
refs
.
c: add an err argument to d
e
lete_re
f
_loose
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlber
g
wrapper
.
c: add
a ne
w
function unlink_or_
m
s
g
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie S
a
hlberg
refs
.
c
:
lock_ref_s
h
a1_basic is used
for a
l
l refs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
n
nie Sahlbe
r
g
w
rapper
.
c: remov
e
/unlink_or_warn: simplify, treat ENOENT
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
ref
s
.
c: make del
e
te
_
ref
use a
t
r
ansaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
ahlberg
refs
.
c
:
make prune_ref use a
t
ransactio
n
to
d
elete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ron
n
ie Sahlbe
r
g
r
e
fs
.
c:
r
emo
v
e lock_ref_
s
ha1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
re
f
s
.
c: remov
e
the
update_ref_write function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ron
n
i
e Sahlberg
ref
s
.
c: remove the
u
pdate_ref
_
lock fu
n
ction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ron
n
ie S
a
hl
b
erg
refs
.
c:
make lock_
r
ef_sha1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
walker
.
c: use ref transactio
n
for r
e
f
updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie
S
ahlberg
fast-im
p
o
r
t
.
c
: use
a ref tran
s
acti
o
n when dumping tags
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie S
a
hlberg
rece
i
ve-pack
.
c
:
us
e
a reference tr
a
nsacti
o
n
fo
r
u
p
dating
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlb
e
r
g
refs
.
c: change u
p
date_ref to use a transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie S
a
hlberg
b
r
a
nch
.
c: use ref
transact
i
o
n
fo
r
all ref updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie Sah
l
b
e
rg
fas
t
-im
p
ort
.
c: change update_branch t
o
use
r
e
f
transaction
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
se
q
uencer
.
c: use ref transactions for all ref up
d
ates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlber
g
com
m
it
.
c
:
u
se ref transactions for updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
place
.
c: us
e
the ref transaction functions for
u
pdates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
Sahlberg
t
a
g
.
c: u
s
e ref transacti
o
ns
wh
e
n
d
oing upd
a
t
es
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
nie Sahlberg
ref
s
.
c: add transactio
n
.
status and track OPEN/CLOSED
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
n
n
ie
S
a
h
l
berg
refs
.
c: make ref_tr
a
ns
a
c
t
ion_begin
t
ake a
n
e
r
r argum
e
nt
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlb
e
rg
refs
.
c: update
r
e
f_transaction_
d
elet
e
to check for
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e Sah
l
b
erg
refs
.
c
: change ref_
t
ransaction_create t
o
d
o error
c
hecking
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
Ro
n
nie Sahlberg
refs
.
c: ad
d
a public i
s
_
b
r
a
nch funct
i
on
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e Sahlber
g
refs
.
c: c
h
an
g
e ref_transaction_
u
pdate() to do error
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahlberg
refs
.
c: remove
the onerr a
r
gument to
r
e
f
_t
r
ans
a
ction_commit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e
S
ahlberg
upda
t
e-re
f
: use err argument
t
o get err
o
r from ref_tran
s
a
c
ti
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie Sahlbe
r
g
r
e
f
s
.
c: make
u
pdate
_
ref_writ
e
update a strbuf on failure
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:
m
a
ke ref
_
updat
e
_
reject_duplic
a
tes take a strbuf
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlb
e
rg
refs
.
c:
lo
g
_re
f
_writ
e
s
h
ould try to return me
a
ningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sa
h
lberg
refs
.
c: make resolv
e
_
r
ef_unsafe
s
et errn
o
to something
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e Sahlberg
refs
.
c: commit_p
a
cked_
r
efs to r
e
turn a meaningful errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahlberg
refs
.
c
:
make remove_empty_directori
e
s
a
lways set errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
ref
s
.
c: verify_lock sh
o
u
l
d
s
et errno
to
som
e
thing
m
e
aningf
u
l
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronn
i
e Sahlberg
refs
.
c: make sur
e
log_ref_setup returns a me
a
ningf
u
l
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie Sahlber
g
refs
.
c: add an err argument to
repack_without_re
f
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie Sah
l
ber
g
lock
f
ile
.
c:
ma
k
e l
o
ck_f
i
l
e
return a meanin
g
f
ul errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie Sahl
b
erg
lockfi
l
e
.
c: add a ne
w
publi
c
function unable_to_l
o
ck_message
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: add
a
st
r
b
uf argumen
t
to
ref_tran
s
act
i
o
n_commit
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie
Sahlberg
r
e
f
s
.
c
: allow passing NULL to ref_transa
c
t
i
o
n
_
free
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahl
b
erg
refs
.
c: const
i
f
y
the sha
a
rgu
m
ents for ref_trans
a
c
t
ion_crea
t
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahlberg
refs
.
c:
r
e
f_transaction_co
m
mit should not fr
e
e
the
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlb
e
rg
r
ef
s
.
c: remove r
e
f
_
tran
s
action_rollba
c
k
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie Sahl
b
erg
enum
s
:
r
emov
e
trailin
g
',' after last item
i
n
e
n
u
m
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie Sahlberg
enums: r
e
move trailing ',' after l
a
st item in enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-06-03
R
o
nnie
Sahlberg
refs
.
c
:
c
hange rea
d
_r
e
f
_
at t
o
use the
r
eflog iterator
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ronnie Sahlberg
check
o
ut
.
c: use ref_
e
xists in
s
t
e
ad of file_exist
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
R
o
n
n
ie Sahlberg
refs
.
c: ad
d
ne
w
f
u
n
ctions re
f
log_exists and delet
e
_reflog
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie
S
ahl
b
erg
co
m
mit
.
c: check for lock
e
rror and return early
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronnie Sahlberg
sequencer
.
c: check
for l
o
ck
failure and bail ea
r
ly
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree