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
t4039: abstract away SHA-1-specific constants
2019-10-28
bria
n
m
.
car
l
son
t4039: abs
t
ract awa
y
SHA-1-specific constants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
brian m
.
c
arlson
t4
0
3
8
: abs
t
ra
c
t away SHA-1 specif
i
c
c
onstants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
brian m
.
carlson
t
4
034: abstract away SHA-
1
-spec
i
fic constants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
brian m
.
carlson
t4027: make hash-
s
ize independent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
brian m
.
c
arl
s
on
t4
0
1
5
:
abstr
a
ct away SHA-1-specific constants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
brian m
.
carl
s
on
t4011: abst
r
act away SHA-
1
-spec
i
fic co
n
st
a
nts
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
brian m
.
carlson
t
4
010:
ab
s
tract away SH
A
-1-s
p
ecific constants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
bria
n
m
.
ca
r
lson
t
3
429: rem
o
ve S
H
A1 an
n
o
t
ation
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
bri
a
n m
.
carlso
n
t1
3
05
:
av
o
id comparing extensions
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-28
brian m
.
carl
s
on
r
e
v-
p
arse
:
add a --sh
o
w-obj
e
ct-
f
ormat option
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-06
brian m
.
carlson
t/oid-info
:
a
d
d empty tree a
n
d empty blob v
a
l
ues
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-10-06
brian m
.
car
l
s
on
t/oid-info: allow looking up hash
a
lgorithm
na
m
e
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-09-03
br
i
an m
.
carlson
am: r
e
load
.
gitattributes aft
e
r patc
h
ing it
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-26
b
rian m
.
carlson
path
:
add a funct
i
on
t
o che
c
k
f
or path suffix
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-26
brian m
.
carlson
t4009: m
a
k
e
h
a
sh size independent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-26
b
rian m
.
carlson
t4002
:
make
hash
i
ndependent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-26
brian m
.
ca
r
lson
t
4
000:
make hash s
i
z
e
i
n
dependent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-26
b
r
ian m
.
carlson
t3903: abstract away SHA-
1
-
s
p
ecific
cons
t
ant
s
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
br
i
a
n m
.
carl
s
on
t3800: m
a
ke
h
a
sh-si
z
e in
d
ependent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
br
i
an
m
.
carlson
t3600: mak
e
h
ash siz
e
independent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
brian
m
.
c
a
r
lson
t3506: make hash i
n
d
e
pende
n
t
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
brian m
.
c
arlson
t3430: av
o
id hard-code
d
o
b
j
ect IDs
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
brian
m
.
c
arlson
t3404: abstract away SH
A
-1-s
p
ecif
i
c con
s
tants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
brian m
.
carlson
t
3306: abstr
a
c
t
awa
y
SHA-1-
s
peci
f
ic constants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
b
rian m
.
carlson
t
3
3
0
5: make hash size in
d
ependen
t
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
brian m
.
carls
o
n
t
3301: abstract away SHA-1
-
spe
c
if
i
c consta
n
ts
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
b
rian m
.
c
arl
s
on
t
3
2
06: abs
t
ract away hash size constants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-08-20
brian
m
.
ca
r
l
son
t3201:
a
bst
r
act
a
way SHA-1-
s
pec
i
fic
c
o
n
s
tants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
bria
n
m
.
carls
o
n
t2203: avoid
h
a
rd-coded
o
bject
I
D values
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
brian m
.
c
a
rl
s
on
t1710: ma
k
e
h
ash indepe
n
dent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
bria
n
m
.
carlson
t
100
7
: r
e
move
SHA1 prerequis
i
tes
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
br
i
an m
.
carlson
t0090: make test pass w
i
th SHA-256
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
bri
a
n m
.
carlso
n
t
0027: make hash
size inde
p
en
d
ent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
bri
a
n
m
.
c
a
rlson
t60
3
0: mak
e
test work with SHA-
2
56
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
bria
n
m
.
c
a
rlson
t5
0
00: make has
h
independ
e
nt
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
brian m
.
carlson
t
1
4
5
0:
make hash size in
d
ependent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
brian m
.
carlson
t
141
0
: make h
a
s
h size indepe
n
dent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-07-01
b
rian m
.
carlson
t
:
add
h
e
lpe
r
to conv
e
r
t
object IDs t
o
p
aths
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-14
brian m
.
ca
r
ls
o
n
send-email:
d
efault
t
o
q
uot
e
d
-
printable when
C
R
is
.
.
.
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
b
r
i
an m
.
c
arlso
n
g
itweb: make hash size
inde
p
end
e
nt
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
bri
a
n m
.
carlson
Git
.
pm: make hash size independent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
br
i
an m
.
carl
s
on
r
e
ad-cache: read da
t
a
in a hash-indepen
d
ent
w
ay
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlson
dir: m
a
ke unt
r
acked cac
h
e extension hash size
i
ndependen
t
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
br
i
an
m
.
carlson
b
u
iltin/difftoo
l
:
use parse_oid
_
h
e
x
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carls
o
n
re
f
sp
e
c: mak
e
hash siz
e
i
n
dependent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
ca
r
ls
o
n
archiv
e
: convert struct archiver_args to
o
bject_id
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
b
r
ian m
.
carl
s
on
b
uiltin
/
get-tar-commit-id: make h
a
sh si
z
e indepe
n
dent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
bria
n
m
.
ca
r
lson
hash: add a function
t
o lookup ha
s
h algorit
h
m
b
y
length
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian
m
.
carl
s
on
remote-curl: make hash siz
e
independent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlson
http: replace sha1_to_hex
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlso
n
h
t
tp: compute hash of downloaded
o
bje
c
ts using the_ha
s
h_algo
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
b
rian m
.
carls
o
n
http: replace
h
ard-coded
constan
t
w
i
th the_
h
ash_algo
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
b
rian m
.
ca
r
lson
ht
t
p-wal
k
er: rep
l
ace sha1_to_hex
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlson
http-pu
s
h:
r
emove remaining
u
ses of sha1_to_hex
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
ca
r
l
son
h
tt
p
-backen
d
: allow
6
4
-cha
r
acter hex name
s
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlson
http-pus
h
:
convert to use the_hash_
a
lg
o
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian
m
.
c
arlson
b
uiltin/pull
:
mak
e
hash-s
i
ze independent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
bri
a
n m
.
carlson
bui
l
tin/am: make
ha
s
h size inde
p
e
n
dent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
b
r
ian m
.
carls
o
n
fa
s
t-i
m
port
:
r
eplace s
h
a1_to_h
e
x
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian
m
.
carl
s
o
n
fast-import: ma
k
e ha
s
h-size indepe
n
dent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlson
builti
n
/na
m
e-rev:
make hash-size
inde
p
endent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
bria
n
m
.
carlson
object-store: rename and
e
xpand packed_
g
it's sha1 m
e
m
ber
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian
m
.
car
l
son
note
s
: replace sha1_to_hex
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
b
r
i
a
n m
.
carlson
notes: make hash siz
e
independent
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
bria
n
m
.
carlson
not
e
s-mer
g
e: switch to
use the_ha
s
h_algo
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
ca
r
lso
n
submodule:
avoid hard-coded consta
n
t
s
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
b
r
ian m
.
carlso
n
pack-bitm
a
p: s
w
itch hash tables to use s
t
ruct object_id
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlson
p
a
ck-bitmap: switch hard-coded constants
to the_hash_algo
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
bri
a
n m
.
car
l
son
pack-bitma
p
:
r
e
p
lace sha1_to_hex
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlso
n
p
a
c
k
-
b
it
m
ap:
convert struct stored_bitmap
t
o
o
bject_id
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
c
arlson
pa
c
k-bitmap: make bitma
p
head
e
r handling hash agnost
i
c
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
brian m
.
carlson
khash:
m
ove oid hash table
definition
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-04-01
b
rian
m
.
c
ar
l
son
t/lib-submod
u
l
e
-up
d
ate: use
app
r
opriat
e
length constant
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-02-12
brian m
.
carlson
utf8: handle system
s
that don't write BOM for UTF-1
6
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-02-07
brian m
.
carl
s
on
f
e
t
c
h
-pack: clear alternat
e
shal
l
ow in one more pl
a
ce
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-02-04
brian
m
.
carlson
f
e
tch-pac
k
: cle
a
r
alt
e
rnate shallow when
c
omplete
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-01-15
brian m
.
carlson
cac
h
e: make oi
d
c
p
y always copy G
I
T
_
MAX_RAWSZ
bytes
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-01-15
brian m
.
carls
o
n
t
ree-walk
:
store
object_id in a s
e
parat
e
member
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-01-15
brian m
.
carlson
match-tr
e
es
:
us
e
hashcpy to spl
i
ce
t
rees
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-01-15
brian
m
.
car
l
son
match-trees:
c
o
m
pute buffer offset correctly when spl
i
cing
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2019-01-15
brian m
.
carlson
t
ree
-
walk: copy o
b
j
e
ct ID befor
e
use
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
brian m
.
carl
s
on
hash:
a
dd an SHA-256 impl
e
mentation u
s
ing Op
e
nSSL
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
br
i
an
m
.
c
a
rls
o
n
sh
a
256: add an SH
A
-256 implementation using libgcryp
t
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
bria
n
m
.
carlson
Add a b
a
se implementation of SH
A
-
2
5
6
s
upport
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
brian m
.
carlson
commit-graph: convert to usin
g
the
_
hash_algo
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
bri
a
n m
.
carlson
t/helper: a
d
d
a
tes
t
he
l
per to compute hash speed
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
brian m
.
carlson
sh
a
1-file
:
ad
d
a con
s
ta
n
t for hash block siz
e
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
bri
a
n m
.
c
arlson
t:
m
a
ke t
h
e sha1 t
e
st-tool help
e
r generic
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
br
i
a
n m
.
carlson
t: add
b
asic tests for our SHA-1
im
p
lementation
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
b
rian m
.
c
arlson
cach
e
: ma
k
e hashcmp and
h
asheq work with larger hashes
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-11-14
brian m
.
carlson
h
e
x
:
int
r
oduce functio
n
s
to pri
n
t ar
b
i
trary hashes
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-22
br
i
an m
.
carlso
n
sha
1
-file: pr
o
vide functions to look
u
p
hash algor
i
thms
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-22
bria
n
m
.
carlson
sha1-
f
ile: renam
e
algori
t
hm
t
o "sha1"
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-15
brian m
.
carls
o
n
rerere: conve
r
t
t
o us
e
the_
h
ash_al
g
o
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-15
brian m
.
car
l
son
submodule: make zer
o
-oid
c
ompa
r
ison hash function agnosti
c
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-15
brian m
.
carlson
appl
y
: renam
e
n
e
w
_
sha1_p
r
efi
x
and old_sha1_prefix
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-15
brian
m
.
carlson
apply: replace hard-coded
constants
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-15
brian m
.
carlson
tag: express constant
i
n
terms
o
f the_hash_algo
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-15
brian
m
.
carls
o
n
t
r
ansport: u
s
e parse_oid_hex instead of a cons
t
ant
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
2018-10-15
b
r
i
a
n
m
.
c
arlson
upload-pack: express constant
s
i
n
t
erms
of the
_
hash_algo
Signed-off-by:
brian m. carlson
<sandals@crustytoothpaste.net>
commit
|
commitdiff
|
tree
next