repo.or.cz
/
git
/
mingw.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
use skip_prefix() to avoid more magic numbers
2014-10-07
René Scharfe
us
e
skip_prefix() to avoid
m
o
re magic
numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
remote: sim
p
l
ify
match_name
_
with_pattern
(
) us
i
ng
s
t
r
b
uf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Sch
a
rf
e
g
raph: simpli
f
y
graph_pa
d
ding_line()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use
REALLO
C
_A
R
RAY
for changing the allocation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
a
d
d macro REALLOC_
A
RRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René Scha
r
f
e
rep
a
c
k:
c
all
p
rune_packed_
o
bjects
(
)
and update_server_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
Ren
é
Scha
r
fe
s
trbuf: use strbuf_addchars
(
) for adding
a
char mu
l
tiple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Sch
a
rfe
strbuf:
e
x
port
st
r
buf_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: co
r
rect trace_
s
trbuf() parameter
type
f
or !HAVE_VA
R
IA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René
S
charf
e
imap
-
s
e
nd
:
simplify v_is
s
u
e_imap_cmd() and get_cm
d
_
r
esult
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
merge-tree: remove unus
e
d df_conf
l
ict
arguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
http-walker: si
m
plify process_
a
lterna
t
e
s
_
r
e
s
p
onse(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René S
c
harfe
co
n
fig: simp
l
if
y
git_config_in
c
lude()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
pack
-
write:
s
implify index_pack_lockfile using
skip_prefix
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
R
ené Scharfe
c
onnec
t
:
s
impl
i
fy check_ref
(
) using
s
k
i
p_pre
f
ix() and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
use strbuf_add_absol
u
te_path() to add abso
l
u
te paths
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René S
c
ha
r
fe
abspat
h
: con
v
e
rt absolute_
p
ath() to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
n
é
Scha
r
fe
use x
g
etcwd()
t
o
s
et $GIT_DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
ené Scharfe
us
e
xg
e
tcw
d
() to get the cu
r
re
n
t di
r
ectory or die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
rfe
wr
a
pper: add x
g
etcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
abspath:
c
onvert rea
l
_path_internal(
)
to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
a
b
s
path: use strb
u
f_ge
t
c
w
d() to r
e
member
o
ri
g
inal working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René S
c
harfe
setup: convert se
t
up_git_d
i
rectory_gently_1 et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René
S
charfe
w
a
l
ker
:
avo
i
d quadrati
c
li
s
t ins
e
rtion in mark_co
m
plete
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
R
e
né Scharfe
sha1_name: avoid quadratic
l
i
s
t insertion in
h
a
ndl
e
_one_ref
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
Ren
é
Scharfe
run-comm
a
nd: inline prepare_
r
un_c
o
m
m
an
d
_
v_opt
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
e
né Schar
f
e
r
u
n-command: c
a
ll run_com
m
and_v_o
p
t_cd_env() instead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
ené Sc
h
arfe
r
un
-
command: in
t
roduce child_process_init(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Sch
a
rfe
run-
c
o
mm
a
nd: introduc
e
CHILD_PROCESS
_
INIT
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharf
e
t
urn path macros int
o
inline function
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
clean:
use f(
v
oid) instead of f
(
)
t
o
dec
l
are a
poi
n
ter
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
René Scharfe
rea
d
-cache: check for leading symlinks
w
hen refres
h
ing
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René S
c
harfe
init:
a
void s
u
perflu
o
us real_path
(
) ca
l
ls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
u
n
i
x-so
c
kets: use strbuf_getcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
R
e
né
Scharfe
s
t
rbuf: add str
b
uf
_
getc
w
d()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René Sc
h
arfe
use xmem
d
upz() to allo
c
ate cop
i
es of strings given
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
u
s
e xcallo
c
()
t
o allocate zero-initialized memory
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
Ren
é
Sc
h
arfe
unix-socket: remove stale
socket befo
r
e
c
al
l
ing chdir()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René S
c
harfe
remote-testsvn: use inter
n
al argv_array of struct child_proc
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Scha
r
fe
b
u
n
dle: use inter
n
al argv_
a
rray of struct child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Sch
a
rfe
fas
t
-
i
mport: use hash
c
mp() for SHA1 h
a
sh
co
m
p
a
r
i
son
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
transport: simplify fetch_
o
bjs_via_
r
sync() u
s
ing argv_array
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
R
ené Scharfe
run-command: u
s
e interna
l
argv_arr
a
y
of
s
t
ruct ch
i
l
d
_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René Scha
r
fe
use commit
_
list_count()
t
o count the members of commit_list
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René
Scharf
e
strb
u
f:
u
se strbuf
_
adds
t
r()
f
or adding C str
i
ngs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-16
Re
n
é Scharfe
annotate: use argv_arr
a
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René Scha
r
fe
fsck: simplify fsc
k
_
c
ommit
_
buffer
(
)
b
y
us
i
n
g
c
o
m
mit_list_co
u
nt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
R
e
né S
c
harf
e
comm
i
t: use commit_l
i
st_append()
i
nstead
o
f duplicating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Ren
é
Schar
f
e
merge
:
simplify m
e
rge_
t
rivi
a
l() by
using commi
t
_lis
t
_append()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
R
ené Scharfe
use strbuf_addch
for
adding
sing
l
e ch
a
racters
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é Sc
h
ar
f
e
use s
t
rbuf_ad
d
buf for
adding strbuf
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
René
S
c
harfe
line-log:
u
s
e
co
m
mit_list_append() instead of duplicating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
Ren
é
Scharfe
di
f
f-
t
ree: call free_com
m
it_list() instead of du
p
li
c
ating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-07
René Sch
a
rfe
t5000, t5003: s
i
mplify commit
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-01
René
Scharfe
sha1_fi
l
e: avoid
overrunning alterna
t
e object
base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René S
c
harfe
sha1_file: replace PA
T
H
_
M
A
X b
u
ffer with
strbuf in
prepare_pa
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
R
e
né S
c
h
arfe
wt
-
s
t
atus: simplify b
u
ilding of s
u
mmary l
i
mit ar
g
um
e
nt
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
R
ené Scharfe
w
t
-st
a
t
u
s
:
use
argv_array f
o
r
e
nvi
r
onm
e
nt
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-13
R
e
né
S
charfe
blame:
simpl
i
fy prepare_lines()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-13
René
S
charfe
b
lame: factor o
u
t
get_next_line()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-09
Re
n
é Sc
h
arfe
Use s
t
arts
_
with() f
o
r
C
stri
n
gs instead
of memcmp()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-02
René Scharfe
p
ac
k
-o
b
jects: u
s
e free
(
)
+
xcalloc() instead of xrealloc
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-02
René Sch
a
r
fe
mailinfo
:
us
e
st
r
cmp() for
s
tring
c
omparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-04-01
R
ené Scha
r
fe
rev-parse: f
i
x t
y
p
o in exa
m
ple on manp
a
ge
commit
|
commitdiff
|
tree
2014-03-24
R
e
n
é Sc
h
arfe
pic
k
axe: sim
p
lify kwset loop in contains()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
picka
x
e: cal
l
strlen
only when necessary in diffcore_pickaxe
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
René
S
charf
e
pic
k
axe: move pic
k
a
x
e() aft
e
r
pickaxe_match()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
R
ené Scharfe
pickaxe: m
e
rge diffcore_pickaxe_grep() and
d
iffcor
e
_pickaxe_
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
René
S
charfe
pickaxe:
h
onor -i when used wit
h
-S and --pickaxe-regex
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
R
ené
Sch
a
rfe
t
4
209: us
e
helper fu
n
ctions to test
--
a
uthor
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
Re
n
é Scharf
e
t
4209: use helper functio
n
s
to test --gr
e
p
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
t4
2
09
:
f
a
ctor
o
ut he
l
per functi
o
n te
s
t_log
_
icase(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
René Scha
r
fe
t4209: fact
o
r out helper
function t
e
s
t_log()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
t4209: set up expectations up front
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-11
René Scharfe
grep: su
p
p
o
rt
-h (
n
o
h
eader) wi
t
h --cou
n
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-03-11
René
Scharfe
t
781
0
:
a
dd mis
s
ing v
a
r
i
ab
l
e
s
t
o
tests in
l
oop
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2013-11-27
René Scharfe
Submit
t
ingPa
t
ches: document how
to
han
d
le multiple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2013-09-08
Ren
é
Scharf
e
pull: use $cur
r
_
bra
n
ch_short more
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2013-08-05
René S
c
harfe
t8001, t8002
:
fix "blame
-L :liter
a
l
" test on NetBSD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2013-07-18
René S
c
harfe
.
mailma
p
:
R
ené Scharf
e
ha
s
a n
e
w email address
Signed-off-by: René Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree