repo.or.cz
/
git
/
git-svn.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
use strbuf_addstr() for adding constant strings to a strbuf
2016-08-01
René Schar
f
e
use strbuf_addstr() for adding constant str
i
ngs to
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-06-09
René Scharfe
xd
i
ff:
fix merging of appended hunk
w
ith -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Sc
h
arfe
perf: ma
k
e
t
h
e tests work
w
ithout a wor
k
tree
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
e
né
Scharfe
grep: -W:
d
on't extend co
n
text to tra
i
li
n
g empty lines
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharf
e
t
7810:
add test for grep -W and trailing empty context
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
xdiff: do
n
'
t trim common tail wi
t
h -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é Scharfe
xdiff: -W: don
'
t in
c
lude commo
n
tr
a
iling empty l
i
nes
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
ené Scharfe
xdiff
:
ignore empty
l
in
e
s before added functions with
-
W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharf
e
xd
i
ff
:
h
and
l
e
ap
p
ende
d
c
h
unks
better with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
x
diff: f
a
ct
o
r out match_func_rec()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é Scharfe
t4051: rewrite
,
a
d
d
m
o
re
tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René Scharfe
patch-id: u
s
e s
t
arts_with() and ski
p
_p
r
efi
x
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René S
c
harfe
apply: r
e
move unused parameters from name_terminate()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
René
Scharfe
wt-
s
tatus: correc
t
and si
m
plify check for de
t
ached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
show-ref:
stop
us
i
ng
P
A
RSE_OPT_NO_INTERN
A
L
_
HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
fsck: tre
a
t a NUL in a ta
g
h
e
ader as an error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Schar
f
e
grep:
s
top usi
n
g
PARSE_
O
PT_NO_
I
NTERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
t1450: ad
d
t
est
s
for N
U
L in head
e
rs of commits and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
par
s
e
-
o
p
t
i
o
ns: allo
w
-
h
as a short op
t
ion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sc
h
a
rfe
pa
r
se-op
t
i
o
ns: inlin
e
p
a
r
se_options_usage() a
t
i
ts
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Re
n
é
S
c
h
arfe
pa
r
se-options
:
d
e
d
u
p
licat
e
pars
e
_options_usage() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Scharf
e
daemon: plug
memory leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Sch
a
r
fe
run-com
m
and:
factor out chi
l
d_p
r
ocess_clear
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
Scharf
e
show-branch: use arg
v
_a
r
ray
f
or d
e
f
ault arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
Sch
a
rfe
w
t
-
status: use sk
i
p_pr
e
fix() to
g
et rid of magic string
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René
S
charfe
wt-st
a
t
u
s:
do
n
't skip a
mag
i
ca
l
number of c
h
aracters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Schar
f
e
wt-statu
s
: avoid
b
uild
i
n
g
b
ogus branch name
with detach
e
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Re
n
é Scharfe
wt-s
t
atus
:
exit ea
r
ly using got
o
in wt_short
s
tatus_print_
t
ra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René
S
c
h
arf
e
t7060: add test for stat
u
s --branch on
a
detached
H
E
AD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
Re
n
é Scharf
e
use
p
o
p_commit() for consuming t
h
e
first ent
r
y o
f
a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Schar
f
e
a
rc
h
ive-zip: support mo
r
e
t
h
an 6553
5
e
n
t
r
ies
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
R
e
né Scharfe
archive-zip:
u
s
e
a l
o
c
a
l variable to store the creator
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
Ren
é
S
c
harfe
t5004: t
e
st Z
I
P archives
with many
e
ntries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
René Scharfe
di
f
f: pa
r
se ws-err
o
r-hig
h
light o
p
tion
m
ore strictly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
Scharfe
di
r
: r
e
m
o
ve unused variab
l
e
s
b
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
R
e
né Scha
r
f
e
c
l
e
a
n: r
e
move u
n
use
d
var
i
able bu
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
R
e
n
é
S
c
harfe
use fil
e
_
e
x
ist
s
() to
check
i
f
a file
e
xists in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
René S
c
h
a
rfe
pack-bitmaps: plu
g
memory leak, fix allo
c
ation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Ren
é
Scharf
e
u
s
e
isxdigit() for checking if a cha
r
act
e
r is
a hexadecimal
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
daemon:
deglobalize hostname information
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
daemon: use strbuf
f
or h
o
stname
i
n
f
o
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René
Schar
f
e
zl
i
b: init
i
a
lize
g
i
t_zstream in git_defl
a
te_init{,_gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
R
e
né Sch
a
rfe
archi
v
e-z
i
p: ma
r
k text
f
iles in archives
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René S
c
harfe
sha1_name: use strlcpy() to copy
s
trings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
e
né Scharfe
prett
y
: use
s
tarts_with() to ch
e
ck fo
r
a prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
e
né Scharfe
f
o
r
-
each
-
r
ef: use skip_prefix() to av
o
id dupl
i
cate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
connect:
u
s
e strcmp() for strin
g
c
o
m
p
ar
i
son
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
da
e
m
o
n: use callback t
o
build inte
r
polated
p
a
th
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Schar
f
e
daemo
n
: look up cli
e
nt-supplied hostname lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharf
e
refs:
plug strbuf leak in lock
_
ref_sh
a
1_basi
c
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René
S
c
h
a
r
fe
t
r
ansport: simpl
i
fy du
p
licating
a
s
ubst
r
ing
i
n tra
n
sport_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René
S
charf
e
merge
:
r
e
le
a
s
e
strbuf after use in sugge
s
t_confli
c
t
s()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Scharfe
commit-tree: simplify parsing of o
p
tion -S using skip_pr
e
fix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
René S
c
h
ar
f
e
use st
r
buf_complete_line()
for adding a
n
ewline if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Scharf
e
use labs() for var
i
ables
o
f ty
p
e
l
ong i
n
stead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
R
ené
S
ch
a
rfe
use labs() fo
r
variables of type
lon
g
ins
t
ead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
en
é
S
charfe
ru
n
-comma
n
d: u
s
e void to d
e
cl
a
r
e
that fun
c
t
ions take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
use args m
e
mb
e
r o
f
struct
c
hild_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
e
n
é
S
charfe
trailer: use C
H
ILD_PRO
C
ESS
_
I
NIT in apply
_
comma
n
d
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René
Scharfe
api-run-
c
ommand:
add m
i
s
s
ing list
item ma
r
ker
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
e
né Scharfe
use chil
d
_p
r
oce
s
s_init() to
i
nit
i
al
i
ze
s
truct ch
i
l
d
_pr
o
cess
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René
Scharfe
receive-pa
c
k: avoid
m
inor le
a
k in
case
s
tart_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
Ren
é
Scharfe
grep: add
c
olor
.
grep
.
ma
t
chcontext and
c
olor
.
grep
.
matchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
use env_ar
r
ay
m
emb
e
r
of struct chil
d
_pro
c
e
s
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
Ren
é
Scha
r
fe
run-command:
a
d
d
env_a
r
ray
,
a
n opt
i
onal argv
_
a
r
ray
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René
S
c
h
arf
e
rece
i
ve-
p
ack
:
plug minor
m
e
m
o
ry leak in
u
n
p
ack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
u
s
e ski
p
_prefix()
to avoid m
o
re mag
i
c numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Sc
h
arfe
mails
p
l
i
t
:
remove un
n
ecessar
y
unlink(2) call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
bundl
e
: p
l
ug mino
r
m
emory leak in
is_tag_in_date_range
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
S
ch
a
rfe
d
a
emon:
remove write-only variable maxfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon: fix error message after bi
n
d()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daem
o
n: h
a
ndle g
e
th
o
stbyname
(
) error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
né Scha
r
f
e
sha1-lookup: handle duplicates in s
h
a1_pos()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sha1
-
a
rray:
a
dd
t
est-
s
h
a
1-arr
a
y and ba
s
ic
tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
René S
c
harfe
t00
9
0: avoid passing
empt
y
s
tring to print
f
%d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
R
ené Scharfe
remot
e
:
simplify match_name_with_p
a
ttern() using
strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
Ren
é
S
c
harfe
graph: si
m
plify g
r
aph_paddi
n
g_line()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use
RE
A
LLOC_
A
RRAY for changing t
h
e al
l
ocation siz
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
R
ené Scharfe
add ma
c
ro REALLO
C
_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René Scharfe
repack: cal
l
prune_packed_objec
t
s(
)
a
nd update_serve
r
_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
strbuf: use strbuf_
a
ddchars() f
o
r adding a char multi
p
le
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
strbuf: export
strbuf_addchars()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
R
e
n
é Scharfe
tra
c
e:
corre
c
t trac
e
_strbuf()
p
a
ra
m
eter type
for
!
HAVE_VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René S
c
harfe
imap-se
n
d
:
simplify v_issu
e
_
imap_cmd() and g
e
t_cmd_resul
t
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sch
a
rfe
m
e
r
g
e-tre
e
: remove u
n
u
s
ed df_conflict a
r
gume
n
ts
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Ren
é
S
char
f
e
http-walker: sim
p
lify
p
roces
s
_alternates_respo
n
se(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharf
e
config: simplify git_config_include()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sch
a
rf
e
p
a
ck-writ
e
: s
i
mplify
i
nde
x
_pack_lockfile using ski
p
_pref
i
x
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René
S
charfe
conne
c
t: s
i
mplify
c
h
eck_ref() using s
k
i
p_prefix() and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené
S
charfe
use strbuf
_
add_absolute_path()
t
o add absolute pa
t
hs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharf
e
abspath: convert
a
bsolute
_
pat
h
() to
strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
S
charfe
use xgetcwd()
t
o
s
et $
G
IT
_
DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
n
é Scharfe
use xgetcwd
(
) to
g
et the
c
urrent direc
t
ory or
die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é Scharfe
wrapper:
a
dd xget
c
wd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené Schar
f
e
abs
p
a
t
h:
c
on
v
ert real_pa
t
h_inter
n
al() to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
a
b
s
path
:
us
e
strbuf_getcwd() t
o
remember
o
riginal
w
o
r
kin
g
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
setup: conv
e
r
t
setup_git_directory_gen
t
ly
_
1 et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
walker: av
o
id quadrat
i
c list ins
e
rtion in mark_compl
e
te
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Sch
a
rf
e
sha1_name: avoid qu
a
drat
i
c list insert
i
on i
n
handl
e
_one_ref
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
u
n
-command: inl
i
n
e
pre
p
are_run_command_v_opt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next