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
xdiff: factor out match_func_rec()
2016-05-31
René Scharfe
xdi
f
f
:
factor out match_func
_
rec()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Sc
h
arfe
t
4
051: re
w
rite, add more tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
René Scharfe
w
t-status: correct
and
s
i
m
p
l
ify
check for detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
show-ref:
s
t
o
p
u
s
ing PARSE_OPT_NO_INTERNA
L
_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Schar
f
e
fsck:
treat a NUL in
a
t
ag he
a
d
e
r
as an error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sch
a
rfe
grep:
s
top usi
n
g
PARSE_
O
P
T
_
NO_IN
T
ERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
Sch
a
rfe
t1450
:
ad
d
tests
for NUL
in headers o
f
commits and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Ren
é
Sch
a
rfe
parse-options: a
l
low
-
h as a short o
p
ti
o
n
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
ené Scharfe
parse-opti
o
ns: inline p
a
r
s
e
_option
s
_usage(
)
a
t
i
t
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René S
c
har
f
e
par
s
e
-
options
:
d
e
dup
l
icate parse_options_usage(
)
ca
l
ls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Scharfe
da
e
mon
:
plug memory lea
k
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
Re
n
é Sc
h
arfe
run-command: factor out chil
d
_proces
s
_clea
r
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
ené Scharfe
sh
o
w-br
a
nch: us
e
argv_array
for defau
l
t a
r
guments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Re
n
é Scharf
e
wt-status: use ski
p
_prefix() to g
e
t rid
of magi
c
s
tring
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
ené
S
charfe
wt-status: do
n
'
t
skip
a
magical
n
umber
o
f char
a
cters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt
-
stat
u
s:
a
void bui
l
ding b
o
gus bra
n
ch
n
ame with detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
ené
Sch
a
rf
e
wt-status:
exit early using goto in
wt_shortstatus_pri
n
t_tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scha
r
fe
t7060: add test for status -
-
branch on
a d
e
t
a
c
h
ed
H
EA
D
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
René Sc
h
arfe
use
pop_commit()
for consuming
t
he first entry
o
f
a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Sch
a
r
f
e
a
r
chive-zip: support more tha
n
65535 entri
e
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
archive-zip:
u
se a local variable
t
o store
th
e
c
r
eator
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
t50
0
4: test ZIP ar
c
hi
v
e
s with many ent
r
i
es
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
Ren
é
Sch
a
rfe
di
f
f
:
pa
r
se
w
s-err
o
r-highlig
h
t op
t
ion more strict
l
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
S
c
h
arfe
dir: r
e
move unused variable sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
clea
n
: remove unu
s
ed vari
a
ble b
u
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
S
c
h
arfe
u
se
file
_
e
xists(
)
to ch
e
ck if a
file exists in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
R
e
né Scharfe
pack-b
i
t
m
aps:
p
lug
memo
r
y
l
ea
k
, fix allocat
i
on size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
R
e
né Scha
r
f
e
use isxdigi
t
(
)
for checking if a
c
h
a
racter
is a hexade
c
imal
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René
Scharfe
daemon
:
deglo
b
alize
h
o
s
tname i
n
formation
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René
Sch
a
rfe
d
a
emon: use strbuf for hostname info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Sc
h
arfe
zlib: i
n
i
t
ial
i
z
e git_zstream in
g
i
t_deflate_init{,
_
gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René
S
charfe
a
rchi
v
e-zip:
m
a
rk text
files i
n
archives
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
sha1_name: use strlcpy()
t
o
copy strings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
ené
S
c
h
arfe
p
r
etty
:
use s
t
arts_with() to c
h
eck
f
o
r a prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Scharfe
f
or-each-ref:
use skip_pr
e
fix() to avoid duplic
a
t
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Scharf
e
connect: us
e
strcmp()
for string c
o
mparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
d
aemon: use call
b
a
c
k to bu
i
l
d
interpolated
p
a
t
h
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
Re
n
é S
c
harfe
daemon
:
lo
o
k up client-supplied host
n
ame lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharf
e
r
e
fs:
plug
s
trbuf leak
i
n lock_ref_sh
a
1_ba
s
ic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
transpo
r
t
: simplify
dup
l
i
c
ating a subst
r
ing
i
n t
r
an
s
port
_
get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
ené Scharfe
merge
:
release strbuf after
use in suggest
_
conflic
t
s()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
ené Scharfe
c
ommit-tree:
simpli
f
y p
a
rsing of option
-S u
s
i
n
g
skip_pref
i
x()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
René Scharf
e
use strbuf_
c
o
m
plete_lin
e
() fo
r
addin
g
a newline if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Sc
h
arfe
use labs
(
) for
v
ariables of ty
p
e long in
s
t
e
ad of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René
S
charfe
use lab
s
() f
o
r variables of type long instead of abs(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
e
né Scharfe
run-command:
u
s
e void
t
o declare that
func
t
ions take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Re
n
é Scharf
e
u
se
a
r
gs member of struc
t
child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
trailer
:
use CHILD_
P
ROCE
S
S_INIT
i
n apply_co
m
m
and()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
ené
S
c
harfe
api
-
run-comm
a
nd: ad
d
mis
s
ing li
s
t it
e
m marker
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René
Schar
f
e
use child
_
process_init() to in
i
tialize struct child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
receiv
e
-
pack: av
o
i
d
minor
l
e
ak in case
start
_
async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
g
r
ep: add color
.
grep
.
matchcont
e
xt and color
.
gr
e
p
.
ma
t
c
hsel
e
cte
d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
R
ené Scha
r
fe
use env_ar
r
ay member of struct child_proc
e
s
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René
S
charfe
run-command: add en
v
_ar
r
ay, an optional argv_array
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
Ren
é
S
charfe
r
ec
e
i
ve-
p
ack:
plug minor
m
e
m
ory leak in unpack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
R
e
né Sch
a
rfe
us
e
skip_
p
r
e
fix() to avoid m
o
r
e magic n
u
m
bers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
Re
n
é Schar
f
e
mail
s
plit: r
e
move unnecessary unlink(
2
) call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René
Scharfe
bund
l
e: pl
u
g m
i
nor memory leak in is
_
tag_in_
d
ate_range()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
Ren
é
Sc
h
ar
f
e
daemon: remove write-only variable maxf
d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
ené Scharf
e
daem
o
n: fix er
r
or message after bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
n
é
Schar
f
e
da
e
m
o
n: ha
n
d
l
e
gethostb
y
n
ame() err
o
r
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
ené Schar
f
e
s
ha1-lookup: ha
n
dle
duplicates in s
h
a1_pos()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
né
Scharfe
s
ha1
-
array: add tes
t
-sha1
-
arr
a
y
and basic
t
es
t
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
René Scha
r
fe
t0
0
90: a
v
oid pas
s
in
g
empty
s
tring t
o
printf %d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
R
e
né Scharfe
remo
t
e: simpl
i
fy match_n
a
me_w
i
th_pattern() us
i
ng strb
u
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
R
ené
S
c
h
arfe
graph: simpli
f
y
graph_p
a
d
d
ing_l
i
ne()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use R
E
ALLO
C
_AR
R
AY
f
or changing the allocati
o
n si
z
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
add
m
acro REALLOC_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
R
e
n
é Schar
f
e
rep
a
ck
:
call
pr
u
ne_packed_objects(
)
a
n
d upda
t
e_ser
v
e
r_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René
S
charfe
strbuf: use
strbuf_addchars() for adding a char multiple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
R
ené
S
c
h
arfe
s
t
rbuf: export strbu
f
_
addc
h
ars(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
trace: correct trace_str
b
uf() parameter typ
e
for !HAVE
_
V
A
RIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René S
c
harfe
imap-send: simplify
v_issue_i
m
ap_cmd() and get_cmd_result
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Ren
é
Scharfe
m
e
rge-tree:
rem
o
ve unused df_
c
onflict arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
ht
t
p-walker
:
simpl
i
fy
pro
c
ess_alternat
e
s_response(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René
S
charfe
confi
g
:
s
i
mplif
y
g
i
t
_
confi
g
_inclu
d
e()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
R
ené
S
charf
e
pack-wr
i
t
e
:
simplify index
_
pack_lockfile using skip_prefix
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
connec
t
: si
m
plif
y
c
heck_ref() usin
g
skip_prefix
(
)
and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
a
r
f
e
use strbuf_add_absol
u
te_
p
ath() to add ab
s
olute paths
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené Sc
h
ar
f
e
ab
s
path: convert abso
l
ute_path() to
strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René S
c
harfe
use xgetc
w
d() to s
e
t $GI
T
_
DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use xgetcw
d
(
)
t
o get the
c
urrent directory or die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
Scharfe
wrapper: add xgetcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Schar
f
e
a
b
spath:
convert
real_path_in
t
ernal()
t
o strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené Scha
r
fe
abspath
:
use
s
t
rbuf_g
e
tcwd() to remember or
i
gi
n
al working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
né S
c
harfe
setup:
c
onvert setu
p
_
gi
t
_director
y
_
gentl
y
_1 et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
wa
l
ker: avoid quadr
a
tic list insertion in
mark_
c
omple
t
e
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
Re
n
é S
c
harfe
sha
1
_name:
avoid
q
u
adrat
i
c
l
ist inse
r
t
ion
in han
d
le
_
one_r
e
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
e
n
é Sch
a
rf
e
run-command: inline
pre
p
are_run_command_v_opt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-c
o
mmand: cal
l
run_command_v_opt_cd_env()
i
nstead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-com
m
and: i
n
troduce child_proce
s
s_init()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
e
n
é
Scharfe
run-command: introduce CHILD_PROCESS
_
INI
T
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
R
e
n
é Schar
f
e
t
u
rn pat
h
ma
c
r
o
s i
n
t
o
i
nline fun
c
tio
n
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
Re
n
é
S
c
harfe
clean: use f(void) ins
t
ead o
f
f() to decla
r
e
a
pointer
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
Re
n
é Sc
h
arfe
rea
d
-cache
:
che
c
k for leading sy
m
links wh
e
n refreshing
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
init: avoid su
p
e
r
fluous real_pat
h
() ca
l
ls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
R
e
n
é
S
char
f
e
uni
x
-sockets:
u
se st
r
buf_getcwd
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
strbu
f
: add st
r
buf
_
getcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
R
e
n
é Scharfe
u
se
xmemdupz() to allocate c
o
pies of st
r
ings given
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René
Sc
h
arfe
use xcall
o
c
(
) t
o
allocate zero-initialized
m
emory
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next