repo.or.cz
/
git
/
mjg.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
refs: introduce a "ref paranoia" flag
2015-02-22
René Scharfe
sha1_na
m
e:
use s
t
r
l
cpy() to copy st
r
ings
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
pretty: use starts_with() to check for a prefix
commit
|
commitdiff
|
tree
2015-02-22
René
S
ch
a
rfe
for-
e
ach-ref: use skip_prefix() to avo
i
d duplicate
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
conn
e
c
t: use
s
trcmp() for string comparison
commit
|
commitdiff
|
tree
2015-02-17
René Scharf
e
dae
m
on: u
s
e c
a
ll
b
ack t
o
build interp
o
lat
e
d
p
ath
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
d
a
em
o
n: look up
c
l
ie
n
t-supplied hostname lazily
commit
|
commitdiff
|
tree
2014-12-29
René Schar
f
e
refs: plug strbuf l
e
ak
i
n lock_
r
ef_
s
ha1
_
basic()
commit
|
commitdiff
|
tree
2014-12-29
R
ené Sch
a
rfe
transpor
t
: simplify du
p
l
i
cating a sub
s
tring in transport_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Scharfe
merge: release strbuf after use in s
u
gg
e
st_conflicts()
commit
|
commitdiff
|
tree
2014-12-29
Re
n
é
S
charfe
commit-tree
:
simplify parsing of
option -S us
i
ng sk
i
p_prefix()
commit
|
commitdiff
|
tree
2014-12-12
René
S
charfe
use strb
u
f_c
o
mplete_line() for adding a newlin
e
i
f
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
R
ené Scharfe
use labs
(
) for variables of typ
e
lo
n
g i
n
st
e
ad o
f
abs()
commit
|
commitdiff
|
tree
2014-11-17
Ren
é
Scharfe
use labs() for varia
b
l
e
s of
t
ype long instead of abs()
commit
|
commitdiff
|
tree
2014-11-10
Ren
é
Sc
h
arfe
run-command: use
void to declare that
f
unctions take
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
R
ené S
c
harfe
use a
r
gs member
o
f struct child_process
commit
|
commitdiff
|
tree
2014-11-10
R
e
n
é
Scha
r
f
e
trailer: u
s
e
CH
I
LD_PROCESS_INIT
in appl
y
_command()
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
api-run
-
command:
add missing list i
t
e
m mar
k
er
commit
|
commitdiff
|
tree
2014-10-28
René
S
charfe
use child_proce
s
s_init() to
i
nitialize struct child_pr
o
cess
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
receive-
p
ack
:
avoid
minor leak in case star
t
_async
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
grep: add colo
r
.
gre
p
.
matchcontext an
d
color
.
gre
p
.
matc
h
selected
commit
|
commitdiff
|
tree
2014-10-19
René Sch
a
rf
e
us
e
env_arr
a
y me
m
ber of struct child_process
commit
|
commitdiff
|
tree
2014-10-19
René Sch
a
rfe
run-
c
o
m
mand: add env_
a
rray,
an o
p
tional argv_ar
r
ay
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
René Scharfe
r
e
ceive-pack
:
plug min
o
r me
m
ory leak i
n
unpack()
commit
|
commitdiff
|
tree
2014-10-07
R
e
né Schar
f
e
use s
k
ip_prefix() to
avoid more magi
c
nu
m
bers
commit
|
commitdiff
|
tree
2014-10-07
R
e
né
S
charfe
mailspl
i
t: remove
unnecess
a
ry unlink(2) call
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
bundle: plug minor memory
l
e
ak in is
_
ta
g
_in_dat
e
_r
a
ng
e
(
)
commit
|
commitdiff
|
tree
2014-10-01
René Schar
f
e
da
e
mon: remove write-only
variabl
e
maxfd
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
d
a
em
o
n: fix er
r
o
r message aft
e
r bind()
commit
|
commitdiff
|
tree
2014-10-01
Re
n
é
S
charfe
daemon:
han
d
le get
h
ostbyname() error
commit
|
commitdiff
|
tree
2014-10-01
René Sch
a
rfe
sha1
-
lookup: handle duplicates in
s
ha1_pos
(
)
commit
|
commitdiff
|
tree
2014-10-01
René Scha
r
fe
sha1
-
arr
a
y
:
a
d
d
test-sha1-array
a
nd
b
asic tests
commit
|
commitdiff
|
tree
2014-09-30
René Sc
h
arfe
t009
0
:
a
void passin
g
e
m
p
t
y
s
tr
i
ng to printf %d
commit
|
commitdiff
|
tree
2014-09-22
René
S
c
harfe
r
emot
e
: simplify match_n
a
me_wi
t
h_pattern() using s
t
rbuf
commit
|
commitdiff
|
tree
2014-09-22
R
e
né Sc
h
arfe
graph: simp
l
ify graph_padd
i
ng_line
(
)
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
u
se REALLOC_A
R
RAY for changing the alloc
a
tion size
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
René S
c
harfe
a
dd
m
acro REA
L
LOC_
A
RRA
Y
commit
|
commitdiff
|
tree
2014-09-15
Ren
é
S
c
harfe
rep
a
ck: call prune_
p
acked_obje
c
ts()
and update_
s
erver_info
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René
S
charfe
strbu
f
: use str
b
uf_addchar
s
() for
adding
a
char multip
l
e
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René Scha
r
fe
strbuf:
e
xport strbuf_a
d
dchars()
commit
|
commitdiff
|
tree
2014-09-08
Ren
é
Scharf
e
trace:
c
orrect tr
a
ce_strbu
f
() parameter
t
y
pe fo
r
!HA
V
E_VA
R
IA
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
R
ené Scharfe
imap-s
e
nd: simplify
v_issue_im
a
p
_cmd() and
g
et_
c
md_result
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René
S
charfe
m
e
rge
-
tree: remove unused df_con
f
lict arguments
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
h
ttp-walker: simplif
y
proces
s
_alte
r
nates_re
s
p
o
nse(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
config:
simplify git_co
n
fig_include()
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
p
a
c
k
-
w
ri
t
e: simplify index_
p
ack_lockfi
l
e using skip
_
p
r
efix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é
S
c
harfe
con
n
ect:
s
implify check
_
ref() u
s
ing skip_prefix() and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use s
t
r
b
uf_add_absolute_path() to add ab
s
ol
u
te pa
t
hs
commit
|
commitdiff
|
tree
2014-08-26
René Schar
f
e
abspa
t
h: convert
absolu
t
e_p
a
th() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
u
se xgetcwd() t
o
set $
G
IT_DIR
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
u
s
e
xgetcwd() to get
t
he curren
t
d
i
rec
t
ory or
d
ie
commit
|
commitdiff
|
tree
2014-08-26
René
Schar
f
e
wr
a
pper:
add x
g
e
t
cwd()
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
S
c
h
arfe
abspath: c
o
nvert real_
p
ath_internal() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
a
b
s
pat
h
:
u
se strbuf_
g
etcwd() to
r
e
member o
r
igi
n
al working
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Scha
r
fe
setu
p
: convert setu
p
_g
i
t_dir
e
c
tory_gently_1 et
al
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
Re
n
é S
c
har
f
e
walker: avoid quadratic list
i
nserti
o
n in mark_
c
o
m
plet
e
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
sha1_name:
avoi
d
quadratic l
i
st i
n
s
e
rtion in hand
l
e_one_re
f
commit
|
commitdiff
|
tree
2014-08-20
René Scha
r
fe
run
-
command
:
inlin
e
prepare_run_command_v_
o
pt(
)
commit
|
commitdiff
|
tree
2014-08-20
René Sch
a
rfe
run-comma
n
d: call run_co
m
mand_
v
_opt_cd
_
env() inst
e
ad
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-comma
n
d: introduce chi
l
d_process_init()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-command: introduce CHIL
D
_
P
ROCESS_INIT
commit
|
commitdiff
|
tree
2014-08-18
R
e
né Sch
a
rfe
tu
r
n path macros into
i
nline function
commit
|
commitdiff
|
tree
2014-08-18
René Schar
f
e
clean: u
s
e f(void
)
instead of f() to declare a po
i
nte
r
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
René Scharfe
read
-
cache: check
for le
a
d
ing symlinks when refre
s
hing
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
R
ené Scharfe
init:
a
voi
d
sup
e
rfluous
real_
p
ath() c
a
l
ls
commit
|
commitdiff
|
tree
2014-07-28
R
e
n
é
S
charfe
unix-
s
ock
e
ts: u
s
e strbuf_getcwd()
commit
|
commitdiff
|
tree
2014-07-28
René
S
charfe
strbuf: add strbuf_getcwd()
commit
|
commitdiff
|
tree
2014-07-21
R
e
né Scharfe
use xmemdupz() to al
l
ocate copies of
strings given
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
Re
n
é Sch
a
rfe
u
s
e xc
a
l
l
oc() to allocate zero-ini
t
ialized
m
emory
commit
|
commitdiff
|
tree
2014-07-21
R
ené
S
charfe
un
i
x-socket: remove sta
l
e
socket b
e
fore callin
g
chdir()
commit
|
commitdiff
|
tree
2014-07-18
René S
c
harfe
remote-testsvn: use internal argv_array
of struct chil
d
_proc
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
bundle:
u
se interna
l
argv_array of struct child_proc
e
ss
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
R
e
né
Scharfe
fast-i
m
port: use hashcmp
(
) for SHA1 hash compa
r
i
s
on
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
transport: si
m
plify
fetch_objs_
v
ia_rsync
(
) using argv
_
arra
y
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
ru
n
-com
m
and
:
u
s
e inte
r
nal
a
rgv_ar
r
ay
of struct ch
i
ld_process
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
René Sc
h
arfe
use commit_list_count() to co
u
nt
the m
e
mber
s
of
c
o
mmit
_
lists
commit
|
commitdiff
|
tree
2014-07-17
René Sch
a
r
f
e
strb
u
f: use strbuf_ad
d
str() f
o
r adding C strings
commit
|
commitdiff
|
tree
2014-07-16
René Sch
a
rfe
annotate:
use argv
_
array
commit
|
commitdiff
|
tree
2014-07-10
René Sc
h
arfe
fsc
k
: sim
p
lify f
s
ck_
c
ommit_b
u
ffe
r
() by using commit_l
i
st
_
count
(
)
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
c
o
m
mit: use commit
_
list
_
append() ins
t
ead of d
u
plica
t
ing
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
R
ené Schar
f
e
me
r
g
e:
simplify merge_trivial
(
) by using commit_
l
ist
_
a
p
pend()
commit
|
commitdiff
|
tree
2014-07-10
René
S
charfe
use str
b
u
f
_ad
d
ch for adding single cha
r
acters
commit
|
commitdiff
|
tree
2014-07-10
Ren
é
Schar
f
e
use strbuf
_
a
ddb
u
f for
addin
g
strbu
f
s
commit
|
commitdiff
|
tree
2014-07-08
René Scharfe
line-log:
u
se comm
i
t_li
s
t
_append()
i
n
s
tead
o
f duplicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
René
Sc
h
ar
f
e
di
f
f-tr
e
e
:
call
free_commi
t
_list() instead
o
f
duplicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
René
S
charfe
t
5
000, t
5
003: simplify
commi
t
commit
|
commitdiff
|
tree
2014-07-01
René S
c
h
arfe
s
h
a
1_
f
ile: avoid
over
r
unning alte
r
nate object base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René
Scharfe
sha1_file:
replace PA
T
H
_
M
AX buffer with strbuf
i
n prep
a
re_p
a
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René
Scharfe
wt-status: simpl
i
fy b
u
ilding of summary limit argume
n
t
commit
|
commitdiff
|
tree
2014-06-30
René Sch
a
rfe
wt-st
a
tus: use a
r
g
v_array for environmen
t
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
blame: simplify p
r
epare
_
lines()
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
blame: factor
out ge
t
_n
e
xt_line()
commit
|
commitdiff
|
tree
2014-06-09
R
e
né Sch
a
rfe
Use sta
r
ts_with() for C strings instead
o
f memcmp()
commit
|
commitdiff
|
tree
2014-06-02
René
Scha
r
fe
pack
-
o
b
jects: use
free()+xcalloc(
)
ins
t
ead of xrealloc
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
René
S
cha
r
fe
mai
l
info: use strcmp()
for strin
g
comparison
commit
|
commitdiff
|
tree
2014-04-01
René Scharfe
rev-parse: fix typo in example on manpage
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
pic
k
axe: simplify
kwset loop in
contains
(
)
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
pickaxe
:
call strle
n
only when
n
ecessary in
d
i
ffcore
_
pickaxe
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
René
Sch
a
rfe
pick
a
xe
:
move pick
a
xe()
after picka
x
e_match()
commit
|
commitdiff
|
tree
2014-03-24
René Sc
h
arfe
pickaxe:
m
erge diffcore_pickaxe_grep() and diffcore_pickaxe_
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
pickaxe: honor -i when used
w
ith -S and --pick
a
xe-re
g
ex
commit
|
commitdiff
|
tree
next