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: -W: don't include common trailing empty lines in context
2016-05-31
René S
c
harfe
xdiff: -W: don't include common trailing
e
m
p
ty line
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
xdiff: ignore empty lines before a
d
ded functio
n
s with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
Scharf
e
x
d
i
f
f:
h
andle append
e
d chunks be
t
ter with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
ené Scharfe
xdif
f
: 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
R
e
né Scharfe
t4051: re
w
rite, add more t
e
sts
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
René Schar
f
e
wt-sta
t
us: corr
e
ct an
d
s
i
mplify check for
d
etach
e
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
sho
w
-ref:
s
top us
i
ng
P
ARSE_OPT_NO_INTERNAL_HE
L
P
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
f
s
c
k: treat a NUL in a tag
h
e
ader a
s
a
n
er
r
or
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
ené
Scharfe
gr
e
p
: stop
u
sing PAR
S
E_OPT_NO_INTERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sch
a
rfe
t1450:
add tests for NUL in h
e
a
ders of com
m
i
t
s and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René S
c
ha
r
fe
parse-
o
ptions: allow -h as a s
h
ort option
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Ren
é
Scharfe
pars
e
-options: in
l
ine parse_options_usage()
a
t it
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sc
h
arfe
parse-op
t
ions: ded
u
plicate pa
r
s
e_opt
i
ons_usage() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Scharfe
da
e
m
o
n:
p
lug
m
emory leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Scharfe
run-command
:
factor out ch
i
ld_process_clea
r
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Sc
h
a
rfe
show-branc
h
: use argv_arr
a
y for defa
u
lt arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
Scharfe
wt-status
:
use skip_prefix() to get rid
o
f
magic string
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
ené Scharfe
w
t
-
status: don'
t
skip a magical nu
m
be
r
of charact
e
r
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Re
n
é Scharfe
wt-
s
tatus: avo
i
d
b
uilding bogus b
r
a
nch name wit
h
deta
c
hed
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scha
r
fe
wt-status: exit early usin
g
go
t
o in w
t
_short
s
tatus_p
r
int_tr
a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
Schar
f
e
t7
0
60: add test
for status -
-
branch
o
n
a detached HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
René Schar
f
e
u
se
p
op_commi
t
()
for co
n
su
m
ing
t
he f
i
rst ent
r
y of a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
R
en
é
Schar
f
e
archi
v
e-zip: supp
o
rt more than 6553
5
e
n
t
ries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
archiv
e
-
z
i
p: use a lo
c
al
v
a
riabl
e
to store
the creato
r
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
t5004: test ZIP
a
rchiv
e
s
with many en
t
ries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
René Scharfe
diff: pa
r
se ws-error
-
h
igh
l
ight optio
n
more strictl
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
Scharfe
di
r
: remove unused var
i
able s
b
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
c
l
ean:
r
e
m
ove unused var
i
able bu
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scha
r
f
e
u
s
e
fi
l
e_
e
xists() to che
c
k 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
a
ck-bitmaps: plug me
m
o
ry leak, fix allocati
o
n size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scha
r
fe
use isxdigit() for c
h
ecking
if a character is a hex
a
de
c
imal
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é
Scharfe
d
a
emon: deglob
a
lize hostn
a
m
e info
r
ma
t
ion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
daemon: use strbuf for hostname info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
Ren
é
Scharfe
zlib: in
i
tialize
git_zstre
a
m in gi
t
_de
f
late_init{
,
_g
z
i
p
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
arch
i
ve-zip: mark text files in archiv
e
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Schar
f
e
s
h
a1
_
name
:
use strlc
p
y() to copy strings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
en
é
Scharfe
p
r
etty: use s
t
arts_with
(
)
t
o check fo
r
a
pref
i
x
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
Scharfe
for-ea
c
h
-r
e
f: use skip_prefix() to a
v
oid dupl
i
cate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
connect: use s
t
rcmp() for s
t
rin
g
compar
i
son
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
R
e
né
Scharfe
dae
m
on
:
use c
a
llbac
k
t
o build
interpolated
path
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
d
a
emon: look up cli
e
nt-supplied hostname lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
né S
c
harfe
refs:
plug strbu
f
leak i
n
lock_ref_sha1_basic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
tra
n
sp
o
rt: s
i
m
p
l
ify d
u
p
li
c
ating a substring in transport
_
get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
S
char
f
e
merge: release s
t
rbuf aft
e
r us
e
in
suggest_c
o
nfli
c
ts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Re
n
é S
c
harf
e
com
m
i
t-tree:
s
implify parsing of option -S usi
n
g skip_p
r
ef
i
x(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
René Scharfe
use strbuf
_
complete
_
line() for adding
a
newline
i
f
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use labs() f
o
r va
r
i
ables of type lon
g
instead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René S
c
harfe
use
l
abs() for va
r
ia
b
les o
f
t
y
pe long instead of abs(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Re
n
é Scha
r
fe
run-co
m
mand: use void to declare that fu
n
ctions t
a
ke
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René
S
charfe
use a
r
g
s member of stru
c
t chil
d
_pro
c
ess
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
e
né Schar
f
e
trailer: use CHILD_
P
ROCES
S
_
I
NIT in
appl
y
_comma
n
d
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Sch
a
rfe
api-run-command: ad
d
mi
s
sing list
i
tem ma
r
ker
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
u
s
e child_pr
o
ce
s
s_init() to i
n
itial
i
ze struct
ch
i
ld_p
r
ocess
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scha
r
fe
receiv
e
-pack
:
a
void minor
leak in case
s
tart_a
s
ync
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
grep: add col
o
r
.
grep
.
ma
t
c
hcont
e
xt and
c
olor
.
gr
e
p
.
matchselec
t
ed
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
u
se env_
a
rray
m
ember of s
t
ruct
c
hild_pr
o
cess
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
Ren
é
Scha
r
fe
run-command: ad
d
env_array, an optional argv_arra
y
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René Scharfe
r
e
c
eive-pa
c
k:
plug minor memory l
e
ak
i
n unpack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scha
r
fe
use skip_pref
i
x() to avoid mo
r
e magic numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René S
c
h
a
rfe
ma
i
lsplit: remov
e
un
n
ecess
a
ry
u
nlink(2)
call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
bundle: plug minor memory
lea
k
in is_t
a
g_in_date_rang
e
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Schar
f
e
dae
m
on:
r
e
move
w
r
i
t
e-only variable ma
x
fd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Schar
f
e
daemon: f
i
x
er
r
or messa
g
e after bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon: handle
gethostbyna
m
e
(
) error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
né Sc
h
arfe
s
ha
1
-lookup
:
handle duplicat
e
s in sha1_pos()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
né
S
charfe
sha1-array:
a
d
d
test-sha
1
-a
r
ray and basi
c
tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
Ren
é
Scharfe
t00
9
0
:
avoid passing emp
t
y
s
tring to
p
rintf %d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
R
e
né Scharfe
remote
:
simpli
f
y m
a
t
ch_name_wi
t
h
_
pattern() using strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
R
e
né
S
charfe
g
raph: si
m
plify grap
h
_p
a
d
d
i
ng_li
n
e()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
R
ené Scharfe
use REALL
O
C
_
ARRAY for c
h
angi
n
g the allocat
i
on size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
Re
n
é
Sc
h
arfe
add ma
c
ro REALLOC_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René
S
c
ha
r
fe
repa
c
k
: call prune_packed_objects()
an
d
u
p
d
a
t
e_serv
e
r
_
info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
R
e
n
é
Scharfe
strbuf:
u
se
s
trb
u
f_addchars() for addin
g
a char mult
i
ple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Sch
a
rfe
s
trbuf: export s
t
r
b
uf_
a
ddchars()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
Ren
é
S
char
f
e
trace: correct t
r
ace_strbuf() parameter type for !HAVE_VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Schar
f
e
imap-s
e
nd
:
simplify v_issue_imap_
c
m
d
(
) an
d
get
_
cmd_result
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René S
c
harf
e
m
e
rge-tree
:
remove un
u
s
ed df_
c
o
nflict argumen
t
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
a
r
f
e
http-walker: simp
l
ify process_alternate
s
_respon
s
e(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
R
ené Scha
r
f
e
config: simplify git_conf
i
g_include()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scha
r
fe
pack-w
r
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é Sc
h
ar
f
e
conne
c
t: simplify
c
heck_ref() using skip_prefix() and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
us
e
s
t
rbu
f
_add_absolute_p
a
th() to a
d
d abso
l
ute pa
t
hs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
r
f
e
abspath: convert absolute
_
path() t
o
strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use xgetcwd(
)
to set $GIT_D
I
R
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é
S
c
h
arfe
use x
g
etc
w
d() to get the curren
t
di
r
e
ctory
or die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
né Scharfe
wrappe
r
: add xgetcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
né Scharfe
a
b
s
p
ath:
convert real
_
p
a
t
h_
i
nternal()
to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
abspath: use strbuf_getcw
d
(
) to rememb
e
r o
r
ig
i
nal working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
S
char
f
e
s
e
t
u
p
: co
n
v
ert setup_git_dire
c
tor
y
_
g
en
t
ly_
1
et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
walker: avoi
d
quadratic
l
ist insert
i
on
i
n mark_com
p
lete
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René
Scharfe
sha1_nam
e
:
a
v
o
id qu
a
dr
a
tic list inserti
o
n in handle_one_ref
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
e
n
é Scharfe
run-c
o
mman
d
: inline prepa
r
e_run_c
o
m
m
and_v_opt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scha
r
f
e
r
u
n-command: call run_command_v_opt_cd_env() inste
a
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
Re
n
é Scharf
e
run-co
m
m
a
nd:
i
ntroduce child_pr
o
ces
s
_i
n
it()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
ené Sch
a
rfe
run-command: introd
u
ce C
H
ILD_PROCES
S
_INIT
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
Re
n
é
Scha
r
f
e
t
u
rn pat
h
macros i
n
to
inline func
t
ion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
cl
e
an: use f
(
voi
d
) inst
e
ad of f(
)
to
d
eclare a poi
n
te
r
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
R
e
n
é
S
charfe
read-cache
:
ch
e
ck for lead
i
n
g
symlinks when refreshing
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
Ren
é
Sch
a
rfe
init: av
o
id super
f
luo
u
s
real_pa
t
h() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
Re
n
é
S
charfe
unix
-
socket
s
: us
e
st
r
buf_getcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next