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
inline xalloc_flex() into FLEXPTR_ALLOC_MEM
2016-10-17
René Scharf
e
inline xalloc_flex() into FLEXPTR_AL
L
OC_MEM
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-10-17
René Scharfe
avoid pointer arithm
e
tic involving NULL
i
n FLEX_ALLOC
_
MEM
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René S
c
h
a
rf
e
receive-pac
k
: use
FLEX_
A
LL
O
C
_
M
E
M in queue_
c
ommand()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Sc
h
arfe
correc
t
FLEXPTR_* exa
m
ple
i
n comment
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
René Schar
f
e
wt-s
t
atus: correct and
s
implify c
h
eck for deta
c
hed
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Re
n
é Sch
a
rf
e
s
h
ow-ref:
stop usi
n
g PARSE_OPT
_
NO_INTERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
S
charfe
fsck: tre
a
t a NUL in a tag header
a
s
an error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Ren
é
Scharfe
grep: stop using
PARSE_OPT_NO_INTERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sc
h
arfe
t1450: add t
e
st
s
fo
r
NUL in
headers of comm
i
ts and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Re
n
é Scha
r
fe
p
a
rse-options: allow -h a
s
a sh
o
rt option
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
e
né S
c
harfe
par
s
e-options:
inline
p
ar
s
e
_
o
ptio
n
s_usage() a
t
its
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
S
charfe
parse
-
op
t
ions: deduplicate parse_options_usage() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
Ren
é
Sch
a
r
f
e
d
a
emon: pl
u
g memo
r
y leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Sc
h
arfe
run-command: factor out child_proces
s
_clear()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
show
-
branch:
use arg
v
_array for
d
e
f
ault a
r
gument
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
en
é
Scharfe
w
t
-status: use skip
_
pre
f
ix() to get
r
i
d
of
m
a
gic string
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharf
e
wt-status: don't skip a m
a
gical number
of ch
a
racters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Re
n
é
Scharfe
wt-s
t
atus:
a
void
b
u
ilding b
o
gus
b
ranch name w
i
th
det
a
ched
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
S
c
harfe
w
t-status
:
exit
early usin
g
goto in wt_shortstatus_print_tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René S
c
harfe
t7060: a
d
d t
e
st for
status --branch on a detach
e
d HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
René Scharf
e
use pop_com
m
it() fo
r
consu
m
ing th
e
fir
s
t
e
n
t
ry of
a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
R
e
n
é Sch
a
rf
e
archive-z
i
p: sup
p
ort more than 6553
5
entri
e
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
archive-z
i
p: use a local variable to store the cre
a
tor
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharf
e
t
5
004: test Z
I
P
archives with many en
t
ries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
R
e
n
é Scharfe
diff:
parse ws-error-highlight option
more stri
c
tl
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
di
r
: re
m
ove
u
nused v
a
riable s
b
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
S
c
h
arfe
clea
n
: remove unused variabl
e
buf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
Sc
h
arf
e
use
f
ile_exists() to check if
a
file exists in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
Ren
é
Scharfe
p
ack-b
i
tmaps
:
plug memory leak
,
fix
allocation si
z
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Ren
é
Scharfe
u
se is
x
digit
(
) f
o
r ch
e
cking
i
f a chara
c
ter is a hexadecimal
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
daemon: d
e
globalize hos
t
na
m
e information
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Ren
é
S
c
harfe
daemon: use s
t
rbuf for hostn
a
me info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Sch
a
r
fe
zlib: i
n
itia
l
ize git_zstrea
m
in git_def
l
a
te_
i
nit{,_g
z
i
p
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
archive-z
i
p
:
m
ark text file
s
in archiv
e
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
ené
S
c
harfe
sha1_name: use str
l
cpy() to copy s
t
r
i
ngs
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
Scharfe
pretty: use sta
r
ts_with() to check for a prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
for-each-re
f
: use ski
p
_prefix() to avoid duplicat
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Sch
a
rfe
connect: use s
t
rcmp(
)
for string comparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
R
ené
Scharfe
daemon: use ca
l
lback to build interpola
t
ed path
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René S
c
h
arfe
dae
m
on: look up clien
t
-suppli
e
d host
n
ame lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Sch
a
rfe
refs: plug s
t
rbuf leak i
n
loc
k
_ref_sha1_basic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René
Scharfe
t
ra
n
sport: simplify duplicating a subst
r
ing in transport_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
merge: releas
e
s
trbuf
a
f
ter use
i
n suggest
_
conflict
s
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René
S
charfe
c
o
m
m
it-tree:
simplify parsing of
o
ption -S using skip_prefix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
René S
c
harfe
u
s
e strb
u
f_complete_li
n
e() for adding a newline i
f
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
R
ené Scharfe
use labs()
for variable
s
of type l
o
ng instead o
f
abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René
Sc
h
arfe
use labs()
f
o
r var
i
ables of t
y
p
e
l
o
ng instead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
run-comm
a
nd:
use
v
o
id to declare tha
t
fun
c
t
ions
t
a
k
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
u
se args membe
r
of struct child
_
process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
trailer: use CHILD_PROCES
S
_INIT
i
n
apply_command()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
api
-
run-command
:
add mi
s
sing
l
ist
i
t
em marker
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
use chi
l
d_process_init() to initialize s
t
ruct child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
r
eceive-pack:
a
void minor
leak in case start_a
s
ync
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
Ren
é
S
charfe
g
rep: add color
.
g
rep
.
m
a
t
chco
n
text an
d
color
.
grep
.
matchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
R
e
né Scharfe
us
e
env_array memb
e
r of struct child_
p
rocess
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René
S
charfe
run
-
com
m
a
nd: add env_array, an opt
i
onal
a
rgv_array
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René
S
charfe
receiv
e
-
p
ack: plug
minor memory le
a
k in unp
a
ck()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
use skip_
p
refi
x
() to avoid more magic
nu
m
bers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
mail
s
plit:
r
e
m
ove un
n
ecessar
y
unlink(2
)
call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharf
e
bundle: plug minor
m
e
mory le
a
k in is_tag_in
_
date_r
a
nge()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Sc
h
arfe
d
a
emon: r
e
move wri
t
e
-
only variable maxfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
en
é
Scharfe
d
aemon: fix error message
a
fter bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
d
aem
o
n: handle
gethostb
y
name() error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
né Scharfe
sha1-look
u
p: han
d
le
d
uplicate
s
in sha1
_
pos
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
Re
n
é
Sch
a
r
fe
sha1-arra
y
: ad
d
test-sha1-array
and basi
c
t
e
sts
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
Ren
é
Scha
r
fe
t0090: avo
i
d
p
ass
i
ng em
p
ty string
to printf
%
d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Sch
a
rfe
remote: s
i
mpli
f
y
m
a
t
ch_name_with_pa
t
tern()
u
sing strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René S
c
harfe
g
raph:
s
i
mplif
y
graph
_
padding
_
l
i
ne
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use REALL
O
C_ARRAY
f
or ch
a
nging the alloc
a
tion
s
ize
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
Re
n
é Scharfe
add
m
a
cro REALLOC_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
R
e
né S
c
h
a
rfe
repack: c
a
ll prune_packed_objects() and upda
t
e_server_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René S
c
harfe
strbuf: use strbuf_add
c
hars()
for adding
a
char
m
ultipl
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René
S
charf
e
strbuf: export
s
trbuf_
a
d
d
c
hars()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
R
e
né Scharfe
trace
:
correct
t
race_strbuf()
para
m
eter
t
y
p
e for !H
A
VE_VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scha
r
f
e
imap-send
:
s
implify v_is
s
ue_imap_cm
d
(
) and get_cmd_r
e
sult
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é
S
charfe
merge-tree:
r
emove unused
d
f
_conflict arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René
Scharfe
htt
p
-wa
l
ker: si
m
plify
pro
c
ess_alte
r
n
ates_response
(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
c
on
f
ig:
s
implify git_confi
g
_i
n
clu
d
e()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
R
e
né Scha
r
fe
pack-
w
rite: simplify index_pack_lo
c
kfi
l
e using skip_pre
f
ix
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Ren
é
S
c
harfe
connect:
s
implify
check_ref() usi
n
g s
k
i
p_prefix(
)
a
n
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené
Scha
r
fe
use strbuf_
a
d
d
_absolute_pat
h
() to add ab
s
olute paths
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Sc
h
arf
e
a
bspath: convert
absolute_path()
t
o
s
trbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Schar
f
e
u
s
e
xge
t
c
wd() t
o
set $GIT_DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use xget
c
wd()
t
o get t
h
e c
u
rrent directory or die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é Scharf
e
wrapper
:
add xge
t
c
wd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
abspath: convert real
_
pa
t
h_
i
n
t
e
r
nal()
to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
ab
s
path: use strbuf_getcwd() to remember original working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
se
t
u
p
: convert setu
p
_git
_
directory
_
gently_1 et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
w
a
l
k
er: avoi
d
q
u
adrati
c
l
i
s
t ins
e
rtion i
n
mark
_
complete
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
Ren
é
Scharfe
sha1_n
a
m
e
: avo
i
d quadrat
i
c lis
t
insertio
n
in handle_one_
r
ef
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
e
né Scharfe
run-co
m
man
d
: inlin
e
p
repare_run_com
m
a
nd_
v
_opt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-command: c
a
ll run_command_v_
o
pt_c
d
_env() instead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
e
né Scharfe
r
un-command: i
n
troduce child_process_init()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René
S
c
ha
r
f
e
r
un-command:
i
n
troduce CHILD_
P
ROCESS_INIT
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
t
urn path macros
i
nto
inlin
e
function
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Schar
f
e
clean:
us
e
f(void) in
s
t
e
ad of f() t
o
declar
e
a poin
t
er
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
René
S
charfe
read-cache: check for leadi
n
g symlink
s
w
hen
r
efreshing
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
init
:
avoid s
u
perfluous
real_pat
h
() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
Ren
é
Scharfe
unix-
s
o
c
kets: use strb
u
f_getcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
R
ené Scharfe
strbuf: add strb
u
f_get
c
wd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next