repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
use file_exists() to check if a file exists in the worktree
2015-05-20
René Scharfe
use file_exists() to
check
i
f a
f
ile exists
in th
e
.
.
.
commit
|
commitdiff
|
tree
2015-03-10
René
Scharfe
use isxdigit() for checking if a character i
s
a hexadecimal
.
.
.
commit
|
commitdiff
|
tree
2015-03-10
René Sch
a
rfe
d
a
emon: deglobalize hostname
i
nformation
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é Scharf
e
daemon: use
s
t
r
buf for hostname info
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
zl
i
b: i
n
itialize git_zstream in git_def
l
ate_ini
t
{,_gzip
.
.
.
commit
|
commitdiff
|
tree
2015-03-05
R
ené Scharfe
archive-zip: mark text files in archive
s
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Sc
h
arfe
sha1_name:
us
e
str
l
cpy() to copy
strings
commit
|
commitdiff
|
tree
2015-02-22
René Sc
h
arfe
pretty
:
use
s
ta
r
t
s
_with()
t
o
check for
a
prefix
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
for
-
eac
h
-ref: use ski
p
_
p
refix
(
)
t
o
a
v
oid duplicate
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
co
n
n
e
c
t
: use strc
m
p() for
string compar
i
son
commit
|
commitdiff
|
tree
2015-02-17
R
ené
S
charfe
daemon: use callback
to
b
uil
d
i
nterpolated path
commit
|
commitdiff
|
tree
2015-02-17
René Sc
h
arfe
daemon: loo
k
up cl
i
en
t
-suppl
i
ed
hostname lazily
commit
|
commitdiff
|
tree
2014-12-29
René Schar
f
e
refs:
plu
g
str
b
uf leak in lock_ref_sha1_
b
asic
(
)
commit
|
commitdiff
|
tree
2014-12-29
René
Sch
a
rfe
tra
n
sport: s
i
mplify duplicating a substrin
g
i
n trans
p
ort_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
René
Scharfe
merge
:
relea
s
e strbuf afte
r
use in su
g
gest_conf
l
icts()
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
commit-tree: s
i
mplify pa
r
sing of
o
p
t
i
on -S
u
s
in
g
ski
p
_pref
i
x
(
)
commit
|
commitdiff
|
tree
2014-12-12
René
S
cha
r
fe
use
s
t
rbuf_complete_line
(
) for adding a newline if
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use labs
(
)
for var
i
ables of
type long ins
t
ead of abs()
commit
|
commitdiff
|
tree
2014-11-17
René Sc
h
arfe
use labs() fo
r
variables of type long instead of abs()
commit
|
commitdiff
|
tree
2014-11-10
R
e
né Scha
r
fe
run-command: u
s
e
v
oid to de
c
l
are
that func
t
ions
t
ake
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
R
e
né
Scharfe
use args member
o
f struct
c
h
il
d
_process
commit
|
commitdiff
|
tree
2014-11-10
René
S
charfe
trailer: use CHILD_PROCESS_INIT in apply_comm
a
n
d(
)
commit
|
commitdiff
|
tree
2014-10-28
René
S
ch
a
rfe
api-run-command: ad
d
missi
n
g
l
ist it
e
m marker
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
u
se child_
p
rocess_init()
t
o initialize
s
tr
u
ct child_process
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
R
ené S
c
harfe
re
c
eive-pack: avo
i
d minor leak in
case
start
_
a
s
y
nc
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Schar
f
e
gre
p
:
a
dd colo
r
.
grep
.
matchcontext and color
.
grep
.
matchselected
commit
|
commitdiff
|
tree
2014-10-19
Ren
é
Scharfe
u
s
e env_
a
rray member of struct chi
l
d
_
process
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
run-command: a
d
d
env_array, an optional argv_array
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
Re
n
é
Sch
a
rfe
receive-pack: plug
m
in
o
r mem
o
ry
l
e
a
k
in
u
n
pack
(
)
commit
|
commitdiff
|
tree
2014-10-07
René Sch
a
r
f
e
use sk
i
p_pre
f
ix() to avoid more magi
c
numbers
commit
|
commitdiff
|
tree
2014-10-07
R
ené Scharfe
mailsplit: remove
u
nnecessa
r
y
u
nlink(2
)
cal
l
commit
|
commitdiff
|
tree
2014-10-07
R
ené Scha
r
fe
bundle: plug minor
memory leak i
n
is_tag_in_d
a
te_range()
commit
|
commitdiff
|
tree
2014-10-01
René Scha
r
fe
daemon
:
remove write-only va
r
iable maxfd
commit
|
commitdiff
|
tree
2014-10-01
René
S
c
harfe
daemo
n
: fi
x
er
r
or messag
e
after
b
ind()
commit
|
commitdiff
|
tree
2014-10-01
René
S
c
harfe
daemo
n
: handle getho
s
tbyname()
er
r
or
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sha1-lookup: handle duplicates
in sha1_po
s
()
commit
|
commitdiff
|
tree
2014-10-01
René Sch
a
rfe
sha1
-
array:
a
dd test-sha1-array and basic tests
commit
|
commitdiff
|
tree
2014-09-30
René Scharfe
t0090: av
o
id passing empty s
t
ring t
o
printf %d
commit
|
commitdiff
|
tree
2014-09-22
René Sc
h
arfe
remote: simplify match_na
m
e_with_pattern()
u
sing strbuf
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
graph: simpl
i
fy grap
h
_paddin
g
_l
i
n
e()
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use REALL
O
C_ARR
A
Y for chang
i
ng the all
o
c
ation si
z
e
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
R
e
né Scharfe
ad
d
mac
r
o REALLOC_ARRAY
commit
|
commitdiff
|
tree
2014-09-15
René Scharfe
repa
c
k:
call
prune_pack
e
d_objects() and update_serve
r
_info
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
strbuf: u
s
e strbuf_ad
d
chars() for adding
a
char multiple
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René Sc
h
arfe
strb
u
f: export s
t
rb
u
f_
a
ddc
h
ars()
commit
|
commitdiff
|
tree
2014-09-08
René Sch
a
rfe
t
race:
c
orrect
trace_strbuf
(
) parameter type for !HAVE_VARIA
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
imap-send: simplify
v_issue_imap_cmd() and
get_cmd_
r
esult
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scha
r
f
e
me
r
g
e
-tre
e
:
remove unused df_conflict a
r
g
uments
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é S
c
ha
r
fe
http-walker:
s
impl
i
fy pro
c
es
s
_alternates
_
re
s
ponse(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
config
:
simplif
y
git_config_include()
commit
|
commitdiff
|
tree
2014-09-02
R
e
né Scharf
e
pack-write: simpl
i
f
y index_pack_lockfile using skip_prefix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
c
onnect: simp
l
ify check_ref() u
s
i
n
g
skip_pr
e
fi
x
(
)
and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é
Scharfe
use strbuf_ad
d
_ab
s
olute
_
path() to add absolut
e
paths
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
abspath: co
n
vert ab
s
olute_pa
t
h() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scha
r
f
e
use xgetcwd() to
set $GI
T
_DIR
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
us
e
x
g
etcwd() to g
e
t the current directory o
r
die
commit
|
commitdiff
|
tree
2014-08-26
René Scha
r
fe
wrapper: ad
d
xgetcwd()
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
a
bspath: con
v
ert rea
l
_pa
t
h_interna
l
() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
abspath:
us
e
strbuf
_
getcwd() to remember or
i
ginal worki
n
g
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René
S
charfe
s
e
tup: convert setup_git_direct
o
ry_ge
n
tly_
1
et
al
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
walker
:
avoid quadra
t
ic list in
s
e
rti
o
n in mark_
c
omple
t
e
commit
|
commitdiff
|
tree
2014-08-25
R
ené S
c
harfe
sha1_nam
e
:
a
void
quadratic list insertion i
n
ha
n
d
l
e_one_r
e
f
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-com
m
and: inline
prepare_run_command_v_opt()
commit
|
commitdiff
|
tree
2014-08-20
R
e
né Scharfe
run-command:
cal
l
run_command_v_opt_cd_env(
)
instead
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-c
o
mmand: introduce child_pro
c
ess_i
n
it()
commit
|
commitdiff
|
tree
2014-08-20
René S
c
harfe
run
-
c
o
mmand: introduce CHILD_PROCE
S
S_
I
NIT
commit
|
commitdiff
|
tree
2014-08-18
René Sch
a
rfe
turn path ma
c
ro
s
i
nto
i
n
line fun
c
t
i
on
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
clea
n
: us
e
f(void) instead of f() to de
c
lare
a pointer
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
René
S
charfe
read-cache: check for
leading symlinks when
refr
e
shing
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
Ren
é
Scha
r
f
e
in
i
t: avo
i
d
superfluou
s
real_path
(
) calls
commit
|
commitdiff
|
tree
2014-07-28
René Scha
r
fe
uni
x
-so
c
ke
t
s: u
s
e st
r
buf
_
g
etc
w
d()
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
strbuf: add strbuf_getcwd()
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
use xmem
d
upz(
)
to allocate copies of
s
tr
i
ngs
give
n
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
use xcalloc() to allocate zero-in
i
t
ia
l
ized
memory
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
unix-so
c
ket: remove s
t
ale soc
k
et
before calling chdir()
commit
|
commitdiff
|
tree
2014-07-18
Re
n
é Scha
r
fe
remote-t
e
stsvn:
u
s
e internal a
r
gv_
a
rray of
s
truct ch
i
ld_proc
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
R
e
né Sch
a
r
f
e
bundle: use
inte
r
nal
argv_arra
y
o
f
struct child_pr
o
ces
s
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Sc
h
a
r
fe
fast-i
m
port: use
h
ashcmp() fo
r
S
HA1 h
a
s
h comp
a
rison
commit
|
commitdiff
|
tree
2014-07-18
René
Sc
h
arfe
t
r
ansport
:
s
i
mplify
f
e
tch_objs_via_r
s
yn
c
() using ar
g
v
_
ar
r
ay
commit
|
commitdiff
|
tree
2014-07-17
Re
n
é
S
c
h
arfe
run-command: use in
t
ernal
a
rgv_array of st
r
uc
t
child_process
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
R
e
né S
c
harfe
use commit_
l
ist_count() to count the members of commit_lists
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
strbuf: use strbu
f
_addstr() for adding
C stri
n
gs
commit
|
commitdiff
|
tree
2014-07-16
René Scharfe
annota
t
e: use arg
v
_array
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
f
s
ck: simpl
i
fy f
s
c
k_c
o
mmit_buffer() by
us
i
ng co
m
mit_list_count()
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
comm
i
t
: use
co
m
mit_
l
ist_append() instead
o
f d
u
plicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
R
ené
S
charfe
me
r
g
e: simp
l
ify mer
g
e_tri
v
i
al()
b
y us
i
ng commit_li
s
t
_append(
)
commit
|
commitdiff
|
tree
2014-07-10
René Schar
f
e
use strbuf_addch for add
i
ng
single c
h
aracters
commit
|
commitdiff
|
tree
2014-07-10
R
e
né S
c
h
arfe
use strb
u
f_addbuf f
o
r ad
d
ing strb
u
fs
commit
|
commitdiff
|
tree
2014-07-08
René Sch
a
rfe
line-log: use commit_
l
ist_
a
ppend() ins
t
ead
of dup
l
icating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
R
ené Scharfe
diff-tree:
c
all fr
e
e_commit_list() ins
t
ead of duplicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
René Sch
a
rfe
t5000,
t
5003: simp
l
ify commit
commit
|
commitdiff
|
tree
2014-07-01
Re
n
é
S
c
h
a
rfe
sha1_file: avoid overrunni
n
g alternate obje
c
t base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Scha
r
fe
sha1_
f
ile: replace PATH_MA
X
buf
f
er with str
b
uf in prepare_
p
a
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Sch
a
rfe
w
t
-status: simp
l
i
fy build
i
ng
o
f
s
ummary limit ar
g
ument
commit
|
commitdiff
|
tree
2014-06-30
René Scharf
e
wt-sta
t
us
:
use argv_ar
r
ay
for
e
nvironment
commit
|
commitdiff
|
tree
2014-06-13
Re
n
é Scharfe
bl
a
me:
si
m
plify
pr
e
pare_lines()
commit
|
commitdiff
|
tree
2014-06-13
R
e
né Scharfe
blame
:
fa
c
tor
o
ut ge
t
_next
_
line()
commit
|
commitdiff
|
tree
2014-06-09
Re
n
é
Scharfe
Use starts
_
w
i
th() fo
r
C string
s
ins
t
ead of
m
emc
m
p
(
)
commit
|
commitdiff
|
tree
2014-06-02
René Schar
f
e
pa
c
k-obje
c
ts
:
use
free(
)
+xc
a
lloc
(
) ins
t
ead of xrealloc
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
R
e
né S
c
h
arf
e
mailinfo: use strcmp() for string comparison
commit
|
commitdiff
|
tree
next