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
grep: -W: don't extend context to trailing empty lines
2016-05-31
René
S
charfe
gre
p
: -W: don
'
t ex
t
end context to trail
i
ng
e
mpty lines
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
t78
1
0: ad
d
test fo
r
grep -W and tr
a
iling empty contex
t
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
xdiff: don
'
t trim com
m
on tail with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
Scha
r
fe
xdiff: -W: don't
i
nc
l
u
de co
m
m
o
n trailing e
m
pt
y
li
n
e
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
Scharf
e
xd
i
ff
:
ignore empty lines
b
efore
a
dded functions wi
t
h -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
e
né S
c
har
f
e
x
dif
f
: handle appended chunks bet
t
er with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
ené
S
c
harfe
xdiff: factor
o
u
t
match_fu
n
c_rec()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
t4051: re
w
r
ite, add more tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
René Scharfe
w
t
-statu
s
: correct and simplify check fo
r
detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
show-re
f
: st
o
p using PARSE_OPT_N
O
_INTERNA
L
_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
fs
c
k: treat a NUL in a tag heade
r
as
a
n e
r
ro
r
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sch
a
rfe
grep
:
sto
p
using PARSE_OPT_
N
O_INTERN
A
L_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
Sch
a
rf
e
t1450: a
d
d tes
t
s for NU
L
in headers
o
f commits
and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
S
charfe
parse-optio
n
s: allow -h as a short option
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Ren
é
Scharfe
p
arse-options:
i
n
l
i
ne
pars
e
_op
t
ions_us
a
ge() at
its
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scha
r
fe
parse-options:
deduplicat
e
parse_
o
ptions_usag
e
(
)
call
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
Re
n
é Scharfe
d
aemon: pl
u
g mem
o
ry leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
R
e
né Sc
h
arfe
run
-
com
m
a
n
d: factor out child_process_clea
r
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
show-branch: use ar
g
v_ar
r
a
y
for default arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
Scharfe
wt-
s
tatus: use skip_pre
f
ix() to get r
i
d
o
f
m
a
g
ic st
r
in
g
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt-st
a
tus
:
don't skip a
m
ag
i
c
a
l number o
f
c
haracters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt-status: avo
i
d building bo
g
u
s
branch name w
i
th detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt-status: exit early usi
n
g go
t
o
i
n wt_s
h
ortstatus_print_tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
t7060: add test
f
or status
--
b
ranch on a detached HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
René Scharfe
use pop_commit() for consuming the first entry of a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
archive-zip: support more than 65535 entries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
archive-zip: us
e
a
l
o
c
al varia
b
le to store
t
he crea
t
or
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
t
5
004: test
Z
IP
a
r
chive
s
wit
h
ma
n
y
e
ntries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
Re
n
é
Scharfe
diff: pa
r
s
e
ws-
e
rror-hig
h
light optio
n
m
o
r
e
s
t
rict
l
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
dir: remove un
u
s
e
d varia
b
le
s
b
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René S
c
harfe
clea
n
: remove unused variable buf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
R
e
n
é
Sch
a
rfe
use file_ex
i
sts() to check
if a
f
i
le exists in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
René Scha
r
f
e
pack-
b
itmaps: plug memory le
a
k, fix allocation
s
i
z
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scha
r
f
e
use isxdigit()
f
o
r checking
if a cha
r
acter i
s
a
hexadecimal
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
R
ené Schar
f
e
da
e
m
o
n: deglo
b
a
l
iz
e
hostname information
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Schar
f
e
daem
o
n: use strbuf fo
r
hostname
i
nfo
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Schar
f
e
zlib: initialize git_zs
t
r
e
am in
g
it_de
f
l
a
te_init{,_gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
archive-zip: mark text file
s
in archi
v
es
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Sch
a
rfe
sha1_name: use
strlcpy() to copy strings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
pr
e
t
ty: use starts_w
i
th() to
ch
e
ck for a prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
ené Scharfe
f
or-eac
h
-ref:
u
s
e
skip_prefix() to avoid du
p
licate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
ené
S
c
h
arfe
c
onnect: u
s
e
strcmp() fo
r
s
t
r
i
ng compa
r
iso
n
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
R
e
né
S
charfe
daemon: use callba
c
k
to buil
d
interpolat
e
d
p
ath
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Sch
a
rfe
daemon: look
u
p
client-supplied hostnam
e
l
a
zily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Schar
f
e
refs: plug
str
b
uf
leak in lock_r
e
f_sha1_basic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
transport: simpli
f
y
du
p
licatin
g
a substring in trans
p
ort_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scha
r
fe
merge: release str
b
uf after use in suggest_co
n
flicts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Schar
f
e
commit-tree: simpl
i
fy parsing of option -S u
s
ing sk
i
p_prefix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
Re
n
é
Scha
r
f
e
use strbuf_complet
e
_line
(
)
f
o
r
a
d
d
ing a
n
e
wline if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Sch
a
rfe
use la
b
s() for
va
r
iables of
t
yp
e
long instead of
a
b
s
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René
Scharfe
use lab
s
() for v
a
riables 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-co
m
m
an
d
: use void to de
c
lare that fun
c
t
i
ons take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Schar
f
e
use arg
s
m
e
mber of
struct chi
l
d_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
e
né Scharfe
t
railer: use CHILD_PROCE
S
S
_
INIT in
a
pply_
c
ommand
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
api-run-
c
ommand:
add missing li
s
t
i
tem
m
ark
e
r
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
en
é
Scharfe
use
child_proces
s
_
i
nit()
to
initia
l
i
z
e str
u
ct child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
e
né Sch
a
rfe
receive-pack: avoi
d
minor l
e
ak in case
sta
r
t_asy
n
c
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
gr
e
p: add color
.
g
rep
.
matchcon
t
e
xt
a
nd
c
o
lo
r
.
grep
.
mat
c
h
selected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scha
r
fe
u
se env_arr
a
y me
m
b
er o
f
struct ch
i
ld
_
process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Sc
h
arfe
run-command: ad
d
env_array, an optional ar
g
v_array
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René Scharfe
rece
i
ve-pack: pl
u
g mi
n
or memo
r
y
leak in unpa
c
k()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
R
ené Scharfe
use
s
kip_prefix() to
a
vo
i
d more magic nu
m
bers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Sch
a
rfe
mailsplit:
r
em
o
ve unnece
s
s
a
r
y
unlink(2) call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
Ren
é
S
charfe
bundle: plug
m
i
nor
m
e
m
or
y
leak in i
s
_tag_in
_
date_range
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
ené Scharfe
d
ae
m
on:
r
e
mo
v
e
write-only variable maxfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
n
é
S
charfe
daemon
:
f
i
x error
m
e
ssage after bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
ené Scharfe
da
e
mon:
h
andle
get
h
ostbynam
e
(
)
error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scha
r
f
e
sha1-lookup: handle dupli
c
ates in
sh
a
1_pos()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
s
h
a1-arra
y
: add
test-sha1
-
array and
b
asic tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
René Schar
f
e
t0090: avoid pass
i
n
g
e
mpty
string to
pr
i
ntf
%
d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
R
e
né Scharfe
remote: simp
l
ify match_name_with_pattern() using
s
trbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René
S
charfe
gr
a
p
h: s
i
mplify
g
raph_padding_
l
in
e
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Sc
h
arfe
use RE
A
LLOC_
A
RRAY for changing
t
he allo
c
a
tion size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René
S
charfe
add
m
acro REALL
O
C_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René Scharfe
repack: cal
l
pru
n
e_packed_o
b
jects()
and u
p
date
_
server_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
s
trbuf: use strbuf_addchars(
)
for
a
dding a char multi
p
le
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
strbuf:
e
x
p
or
t
strbuf_addch
a
rs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
trace: correct trace_strbuf()
p
arameter type for !HAVE_VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
imap-send
:
simplify
v
_iss
u
e_imap_cmd() and g
e
t_cmd_result
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
R
ené Scharfe
merge-tree
:
remove unus
e
d
d
f_conflict arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
R
en
é
Scharfe
http-w
a
lker
:
simp
l
ify process_alterna
t
e
s_res
p
o
n
se(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Ren
é
Scharfe
confi
g
: s
i
m
p
lify git_config_
i
n
clude()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
pack-w
r
ite: simpli
f
y
in
d
ex_pack_lockfi
l
e usi
n
g s
k
ip_prefix
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
c
onnect: simpli
f
y c
h
eck_
r
ef() using skip_
p
re
f
ix() and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
use s
t
rbu
f
_add_ab
s
olute
_
p
a
th() to add abs
o
lute
p
aths
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
Scharfe
abspa
t
h: convert abs
o
lute_pa
t
h() to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
us
e
xgetcwd() to se
t
$GIT_DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené
Scharfe
u
s
e xgetcwd() to get
t
h
e current di
r
ectory or die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené Scharfe
wrapper
:
add xgetcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scha
r
fe
a
b
spat
h
: convert r
e
al_path_intern
a
l() to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scha
r
fe
abspat
h
: use
s
t
rbuf_getcwd() to remember original worki
n
g
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
S
char
f
e
s
e
t
up:
c
o
nve
r
t setup_git_dire
c
tory_gently
_
1
et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
walker: a
v
o
i
d
qu
a
dr
a
tic l
i
st in
s
ertion in ma
r
k
_
co
m
ple
t
e
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
sha
1
_n
a
m
e
:
avoid
q
uadratic list inse
r
t
i
o
n in
handle_one_ref
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-comman
d
: inl
i
ne
p
r
e
pare_r
u
n_comm
a
nd
_
v_opt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-comma
n
d: call run_
c
ommand_
v
_opt_cd_
e
n
v()
i
nstead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René S
c
harfe
run-
c
o
mmand
:
introduce child_p
r
o
c
ess_init()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-comm
a
n
d
: intr
o
duc
e
C
HILD
_
PR
O
CESS_INIT
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
turn path
macros into inline function
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
clean: use f(v
o
id) instead of f() t
o
d
e
clare a pointe
r
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next