repo.or.cz
/
git
/
mjg.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'da/difftool'
2014-10-15
Ro
n
nie Sahlbe
r
g
r
emote rm/p
r
une: print a message whe
n
writing
packed
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sahlberg
fo
r
-each-ref: skip
and wa
r
n about
broken ref
names
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e
Sah
l
b
e
rg
r
efs
.
c
:
allo
w
listing and
d
elet
i
ng badly named
r
efs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
n
n
i
e
Sahlberg
te
s
t: pu
t
te
s
ts for handl
i
ng of bad ref names in one
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sahlberg
branch -d: s
i
mplify by
u
sin
g
RESO
L
VE_REF_R
E
A
DING
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ron
n
ie Sahlbe
r
g
refs
.
c: change resolve_
r
ef
_
unsafe reading arg
u
ment
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
ni
e
Sahlberg
refs
.
c:
m
ake w
r
ite_ref_
s
ha1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ron
n
ie
Sahlber
g
fetch
.
c: ch
a
nge s_up
d
a
t
e_ref to
u
se a ref tran
s
a
ction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie
Sahlberg
r
e
fs
.
c: ref_transacti
o
n_comm
i
t: distinguish n
a
me conflicts
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
refs
.
c: pass a l
i
st of names
t
o
skip
to is_refname_avail
a
ble
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
refs
.
c:
c
all lock
_
ref_sha1_basic
dir
e
ctly from co
m
mit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ro
n
nie Sahlb
e
r
g
r
e
fs
.
c: refus
e
t
o
lock
ba
d
l
y
named
r
efs
in
l
ock_ref
_
s
h
a
1_
b
a
sic
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronn
i
e Sahlb
e
rg
rename_r
e
f: do
n
't ask read_ref_full where th
e
ref came
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie Sahlberg
r
ef
s
.
c: pass the
r
ef log message to _
c
reate/del
e
te
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sahlberg
refs
.
c
:
add an er
r
argum
e
nt
to del
e
te_ref_loose
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
o
nnie Sahlberg
wrapper
.
c: ad
d
a
new f
u
nc
t
ion unlink_or_m
s
g
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
Ronnie Sah
l
berg
re
f
s
.
c
:
l
o
c
k_ref_sha1_bas
i
c
i
s used for all refs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-10-15
R
onnie
S
a
hlber
g
wrapper
.
c
: remove/unlink_or_war
n
:
simpli
f
y, tr
e
at ENOENT
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
onnie Sahlberg
refs
.
c
:
m
a
k
e delet
e
_ref u
s
e a tr
a
nsacti
o
n
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: make prune_ref
use a tran
s
ac
t
ion to
delete
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
ahlberg
ref
s
.
c
:
remove lock_
r
ef_sha1
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e Sahlb
e
rg
refs
.
c: remov
e
the update_ref_write function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
refs
.
c: remove
the upd
a
te_re
f
_lock function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
onnie S
a
h
l
b
erg
refs
.
c: make lock_r
e
f_s
h
a1 static
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronni
e
Sahlberg
walker
.
c: use r
e
f transa
c
ti
o
n
for ref upda
t
e
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
S
a
hlberg
fast-import
.
c
: use
a
ref transacti
o
n when dumping t
a
gs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
receive
-
pack
.
c: use a
r
eference tra
n
sac
t
ion for updati
n
g
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie
Sahlberg
r
e
fs
.
c: ch
a
nge update_ref to use a transaction
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlber
g
b
ra
n
ch
.
c: use ref
t
r
a
n
sact
i
o
n
for
a
ll r
e
f updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronn
i
e Sahlber
g
f
ast-import
.
c:
c
h
a
n
ge upd
a
t
e_br
a
nch
to use re
f
transa
c
tions
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
sequence
r
.
c
: use ref tran
s
act
i
ons
for all r
e
f up
d
ates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlber
g
com
m
it
.
c: use ref trans
a
ctions for updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie S
a
hlberg
rep
l
ace
.
c:
use the r
e
f transa
c
t
i
on functions for updates
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
onnie Sahlberg
t
a
g
.
c: use ref transact
i
ons wh
e
n doing upda
t
es
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
R
o
nnie S
a
hlberg
r
e
f
s
.
c
:
add tr
a
nsaction
.
status and track OPEN/CLOSED
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ro
n
n
i
e Sahl
b
erg
ref
s
.
c: make ref_transaction_b
e
gin
t
a
ke an err argu
m
ent
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronnie Sahlberg
r
e
fs
.
c: u
p
date ref_transaction_delete to check fo
r
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-09-03
Ronni
e
Sahlberg
refs
.
c: chang
e
r
e
f
_
t
ransaction_cr
e
ate to d
o
erro
r
che
c
king
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-16
R
o
nni
e
Sahlberg
r
ef
s
.
c
:
add a pu
b
l
i
c i
s
_
b
ranch function
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
onnie
Sahl
b
erg
re
f
s
.
c
:
change
r
e
f
_
transaction_u
p
date() to do error
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlber
g
refs
.
c: remov
e
the one
r
r
ar
g
u
men
t
to r
e
f_tran
s
action_c
o
mmit
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie
Sahlberg
updat
e
-
ref: use err argument to get er
r
or from ref_transacti
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie S
a
hlberg
re
f
s
.
c: mak
e
update_re
f
_writ
e
update
a s
t
r
buf on failure
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c
: make ref
_
updat
e
_
re
j
ect_dupli
c
ate
s
take a strbuf
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c: log_
r
ef_write shou
l
d try
t
o retu
r
n meaningful
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
refs
.
c
:
make reso
l
ve
_
ref_un
s
afe set errno to
s
om
e
thing
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ron
n
ie Sa
h
lberg
ref
s
.
c:
com
m
i
t
_pac
k
ed_refs to
return a meaningful errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronni
e
Sahlb
e
rg
re
f
s
.
c: make remove_empty_
d
irectories alway
s
set errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie Sah
l
be
r
g
refs
.
c: verify_
l
oc
k
should set errn
o
to somet
h
i
n
g m
e
aningful
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie
S
ahlberg
re
f
s
.
c:
m
ake su
r
e lo
g
_ref
_
setup returns a
m
eaningfu
l
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
nie
Sahlberg
refs
.
c: add an err argume
n
t to
repack_withou
t
_re
f
s
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sa
h
lberg
loc
k
file
.
c:
m
ake
l
ock_
f
ile
r
eturn a meanin
g
ful errno
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sa
h
l
b
erg
loc
k
file
.
c: add a n
e
w public fun
c
tion un
a
ble_to
_
lock_message
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
R
o
nnie Sahlberg
refs
.
c: add
a
strbu
f
argum
e
nt to ref
_
tra
n
s
ac
t
i
on_commit
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
n
i
e Sahlberg
refs
.
c
:
a
l
low pass
i
n
g NULL to ref_transaction_f
r
e
e
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlber
g
r
efs
.
c:
consti
f
y
the s
h
a arguments for ref_tran
s
actio
n
_creat
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ronnie Sahlberg
r
efs
.
c
: ref
_
t
r
ansacti
o
n_comm
i
t should not
f
r
ee th
e
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-14
Ro
n
n
i
e
Sa
h
l
b
erg
refs
.
c: re
m
ove ref_transaction_ro
l
lback
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
R
o
nnie Sa
h
lberg
e
nums:
remove trailing ',' after
l
ast ite
m
in enu
m
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-07-02
Ronnie Sahlbe
r
g
enums
:
remove trailing ',
'
a
fter last item in enum
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-06-03
Ronnie Sahlberg
refs
.
c: chan
g
e read_ref_at t
o
use t
h
e reflog
iterat
o
rs
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
R
o
nnie Sa
h
lb
e
rg
checkout
.
c: use ref_exi
s
ts
i
nstead
of file_exist
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-05-08
Ro
n
nie Sahlberg
r
e
fs
.
c:
a
dd new functions reflog_
e
xists and d
e
lete_reflog
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
Ronn
i
e Sahlber
g
co
m
mi
t
.
c: ch
e
ck for lock erro
r
and return early
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree
2014-04-17
R
o
nnie Sahl
b
er
g
sequence
r
.
c
:
check f
o
r loc
k
failure
a
nd
b
ail earl
y
.
.
.
Signed-off-by:
Ronnie Sahlberg
<sahlberg@google.com>
commit
|
commitdiff
|
tree