Initial commit - full huishou project

This commit is contained in:
jiapengyu
2026-07-27 14:07:26 +08:00
commit 60790ad1b3
39127 changed files with 5989265 additions and 0 deletions
@@ -0,0 +1,2 @@
* binary
*.sh text diff merge eol=lf
@@ -0,0 +1 @@
ref: refs/heads/master
@@ -0,0 +1,6 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
@@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.
Binary file not shown.
@@ -0,0 +1,4 @@
* repoattr
a* foo !bar -baz
sub/*.txt reposub
sub/sub/*.txt reposubsub
@@ -0,0 +1,6 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
@@ -0,0 +1,9 @@
0000000000000000000000000000000000000000 6bab5c79cd5140d0f800917f550eb2a3dc32b0da Russell Belfer <arrbee@arrbee.com> 1324416995 -0800 commit (initial): initial test data
6bab5c79cd5140d0f800917f550eb2a3dc32b0da 605812ab7fe421fdd325a935d35cb06a9234a7d7 Russell Belfer <arrbee@arrbee.com> 1325143098 -0800 commit: latest test updates
605812ab7fe421fdd325a935d35cb06a9234a7d7 a5d76cad53f66f1312bd995909a5bab3c0820770 Russell Belfer <arrbee@arrbee.com> 1325281762 -0800 commit: more macro tests
a5d76cad53f66f1312bd995909a5bab3c0820770 370fe9ec224ce33e71f9e5ec2bd1142ce9937a6a Russell Belfer <arrbee@arrbee.com> 1327611749 -0800 commit: Updating files so we can do diffs
370fe9ec224ce33e71f9e5ec2bd1142ce9937a6a f5b0af1fb4f5c0cd7aad880711d368a07333c307 Russell Belfer <arrbee@arrbee.com> 1327621027 -0800 commit: Updating test data
f5b0af1fb4f5c0cd7aad880711d368a07333c307 a97cc019851d401a4f1d091cb91a15890a0dd1ba Russell Belfer <arrbee@arrbee.com> 1328653313 -0800 commit: Some whitespace only changes for testing purposes
a97cc019851d401a4f1d091cb91a15890a0dd1ba 217878ab49e1314388ea2e32dc6fdb58a1b969e0 Russell Belfer <arrbee@arrbee.com> 1332734901 -0700 commit: added files in sub/sub
217878ab49e1314388ea2e32dc6fdb58a1b969e0 24fa9a9fc4e202313e24b648087495441dab432b Russell Belfer <arrbee@arrbee.com> 1332735555 -0700 commit: adding more files in sub for tree status
24fa9a9fc4e202313e24b648087495441dab432b 8d0b9df9bd30be7910ddda60548d485bc302b911 yorah <yoram.harmelin@gmail.com> 1341230701 +0200 commit: Updating test data so we can test inter-hunk-context
@@ -0,0 +1,9 @@
0000000000000000000000000000000000000000 6bab5c79cd5140d0f800917f550eb2a3dc32b0da Russell Belfer <arrbee@arrbee.com> 1324416995 -0800 commit (initial): initial test data
6bab5c79cd5140d0f800917f550eb2a3dc32b0da 605812ab7fe421fdd325a935d35cb06a9234a7d7 Russell Belfer <arrbee@arrbee.com> 1325143098 -0800 commit: latest test updates
605812ab7fe421fdd325a935d35cb06a9234a7d7 a5d76cad53f66f1312bd995909a5bab3c0820770 Russell Belfer <arrbee@arrbee.com> 1325281762 -0800 commit: more macro tests
a5d76cad53f66f1312bd995909a5bab3c0820770 370fe9ec224ce33e71f9e5ec2bd1142ce9937a6a Russell Belfer <arrbee@arrbee.com> 1327611749 -0800 commit: Updating files so we can do diffs
370fe9ec224ce33e71f9e5ec2bd1142ce9937a6a f5b0af1fb4f5c0cd7aad880711d368a07333c307 Russell Belfer <arrbee@arrbee.com> 1327621027 -0800 commit: Updating test data
f5b0af1fb4f5c0cd7aad880711d368a07333c307 a97cc019851d401a4f1d091cb91a15890a0dd1ba Russell Belfer <arrbee@arrbee.com> 1328653313 -0800 commit: Some whitespace only changes for testing purposes
a97cc019851d401a4f1d091cb91a15890a0dd1ba 217878ab49e1314388ea2e32dc6fdb58a1b969e0 Russell Belfer <arrbee@arrbee.com> 1332734901 -0700 commit: added files in sub/sub
217878ab49e1314388ea2e32dc6fdb58a1b969e0 24fa9a9fc4e202313e24b648087495441dab432b Russell Belfer <arrbee@arrbee.com> 1332735555 -0700 commit: adding more files in sub for tree status
24fa9a9fc4e202313e24b648087495441dab432b 8d0b9df9bd30be7910ddda60548d485bc302b911 yorah <yoram.harmelin@gmail.com> 1341230701 +0200 commit: Updating test data so we can test inter-hunk-context
@@ -0,0 +1,4 @@
xťŽQ
Â0DýÎ)öęn“ŘDÄ#xmv…ÖJ’Ţ߀7đcx0ĽIۺΠ­¨‚óž-ąĚÁń+e"Ľvů‚Á‡śâťůpŃwŽcJH1x‡Ô%Ś”¦HL>Ddˇ‰ ďíµxîµę˛ŔC—¬®\ʤz˙á”¶ődí0Z‘ŕ#˘ém˙ŘşţĎÚ°
äyŃ
óę>ť{ĚqK˛
@@ -0,0 +1 @@
xmPΡj„0μ«ω=ϊP8Z…ήSΎ¤”c£ρ hR6{=Ό―obβ™"Ωafv‚χΧζιδ#3‰Ξ¬=7P%[8<Heμ`&]@?aFZ®η@!…χ.ΚΘω:±ω½§…•ldπΪLG­|K’7~XΓN8¤·IΟκ}Ώψqσ2cGΎ7lΎ5ΤV_pEϋ®’#lZ΄GMςt[JΜΘΝΒ½¥&©hΈ±uΜ][‰Φί4‰-3;ΛCg4Ώx`Zΐ»YΓ“ι»ϊ€bέ^>ο yNlΝ£΅>c―;gΣ¥kΗYXΔ9b|D~VΨ—)…vΏψρΞά•
@@ -0,0 +1,2 @@
xÁÁ € @ßWŶàÇ
|ø§k 9n$¡}gŠ«à:‡îÂ;5°1¥e–4ˆ\k_]ÞƒŸÙ­hœD¡k›ý'~
@@ -0,0 +1,2 @@
x²Nш б0Ц;Sэ═к╩∙B▄ю≈кU ╔╢JсЩ ╟?╤lы√y≥Гgcц║U RbaБ░ыcG;╦l╡Ц═²Dqж═Z╘й╚AH■<г▒Ёв3NБ╗ЦД=J2d3[⌠0⌠╒╫=√
В}ш╓╦I≥╓б≥jM"в²x≥/═╜И[г▌ьГTwШгжЦЪ╢U║&[┐/ЛkЧ(УtJL
@@ -0,0 +1,3 @@
xÛ Ã0 Eûí)´@d'~@(¥#tÅQ¨ÁiÀQö¯¡ôëÂánÞ·­(Pôm"Ř2æh°s L+d{—"{Zœ“`øÔ÷Þàu‡Ô
O©«4˜¸µYäñ›[Þ·;³Ã@>¥®M§ýS»þOmʧhá
*‡ÂÂÊæ ¿<-
@@ -0,0 +1 @@
xKj1D)zoli _"hiK2LG!7ȪJ,EPXDS ] /)}/UwR. jp##:?:|;F9܋r=_ )ơN/A[l!q}<Lfx4H\\q֏cjT
@@ -0,0 +1 @@
x5Ž1Â0 E™}Š?–΀;•˜SâˆÔ®’”ŠÛ“Ðv´ýߢ8ŸO‡'FÈÈ:2r™ƒ)(¾ &¢Þ·«×9Z¼A Âð³¼Ñ¹r9Ýl¬ %¨˜ˆ„3ÑEo£.ÿV­Õi<Bñà F­©MÌb‰®Ã™Ÿ*vµªÛþìÖmõ÷¾¢ÞLK†Ý­D?+­N
@@ -0,0 +1,4 @@
xŽ]
!E{v³B>!"ZB;u¤à3Cmÿ í § ‡{.7µZŸ4âavfÈÖgBLÊEeP;NQÚ¬BŒLAnŲIÆç ÞÔù5ÁI»)MÑ6Z•œQ[
h3Úe:
 ùì}æ£u¸Æà}‡ï…;œ©÷È|ýÅ)µzµ&ô¦¼Óp”›”bÑõq®ú?¶¨­3TJ½Áä1‡ø3ÙJX
@@ -0,0 +1,2 @@
xťŽQjÄ0 DűíSč[ähc;PJéÚ(˛Ľ $q°–Ţľ†Ţ _3oŕIŢ÷µÁŕÜK+ŞŕâäBt„I|ś”â»LěgçĆÖ ĹR4'=¤qFN6Í÷4
JôĚ1ôÖFrŃzĂW[rŻ«VÝ6řÔ-i7.eVýř‹WÉű;X‰,Á ˘émwl˙ĎŰ|ç]ṬMëɢŹídáăˇRwęC[ŹśW9sŐj~Wy
@@ -0,0 +1,2 @@
x5A
Â0D]ÿSÌεèoàÂuJ~L0ýͯ¡··)¸xÃcfªœp¹]OOΊcñB µ˜6‘»!뢘´²Ã³‚{,áU<C¿j˜¹[ÁE-ŠÜ-¢Ò˜ð&#š¯)~ëÇäÆ=˜;;{.öùe"3A
@@ -0,0 +1,2 @@
xN[j1 Ì·O¡ 4ÈRbÇPJÈ
=€Ö;NûÂë½ ½A?†y 1“×y~7½žZ(¾¥2ªÏð£beàÁ8uå’Ja‰n³Š¥‘F.HÈ"— UD_®Ý£÷ÉHI£sv´×ZéûØwL=0Tú´ZàþGç¼Î_äUbßKèƒoÌ®§}cëçÿùv?Ûhí½<©aoÔµ¹_áEK
@@ -0,0 +1 @@
x5ЋAВ0 ы„xBЬAвњG¤vХ¤Tьћ¤РЈеќќхЩ<ыгоВ#ҐО1ВUT釛*СMъWlОOCR2dЦСµC.„T“©ЛИI№ќlQH/цњmYЫ¬UN[аћЄЂЯ¬¬ҐюBЦ@t¶Ьр8~†Х‹ї}}R#ДЌ#kAШdD_=-H
@@ -0,0 +1 @@
8d0b9df9bd30be7910ddda60548d485bc302b911
+1
View File
@@ -0,0 +1 @@
* binary
+29
View File
@@ -0,0 +1,29 @@
# a comment followed by some blank lines
# another comment that is indented
# variations on fnmatch
pat0 attr0
!pat1 attr1
pat2/ attr2
pat3dir/pat3file attr3
pat4.* attr4
*.pat5 attr5
pat6/pat6/*.pat6 attr6
pat7[a-e]??[xyz] attr7 # with a comment on the line
pat8\ with\ spaces attr8
invalid # attr with no assignments doesn't count
also/invalid
invalid.again/
# next attr is at eof
pat9 attr9
+21
View File
@@ -0,0 +1,21 @@
# variations on assignments
pat0 simple
pat1 -neg
* notundef
pat2 !notundef
pat3 assigned=test-value
pat4 rule-with-more-chars=value-with-more-chars
pat5 empty=
pat6 -negempty=
pat7 multiple -single values=1 also=a-really-long-value/* happy=yes!
# the next line has trailing spaces
pat8 again= another=12321
patbad0 # empty assignment does not count
# next line will be another simple empty assign that should not count
patbad1
# BTW I think there are 11 valid rules and two "invalid" empty ones
pat9 -at-eof
+4
View File
@@ -0,0 +1,4 @@
# These are examples from the git-check-attr.1 man page
*.java diff=java -crlf myAttr
NoMyAttr.java !myAttr
README caveat=unspecified
+7
View File
@@ -0,0 +1,7 @@
# This is a comment
# This is also a comment
*.java diff=java -crlf myAttr
NoMyAttr.java !myAttr
README caveat=unspecified
+1
View File
@@ -0,0 +1 @@
123
+1
View File
@@ -0,0 +1 @@
hi
+29
View File
@@ -0,0 +1,29 @@
* rootattr
root_test2 -rootattr
root_test3 !rootattr
binfile binary
abc foo bar baz
does-not-exist foo=yes
root_test2 multiattr
root_test3 multi2=foo
root_test3 multiattr=1 multiattr=2 multiattr=3 multi2=abc !multi2
root_test2 multiattr=string -multiattr
[attr]mymacro positive -negative !rootattr
macro* mymacro another=77
[attr]macro2 multi2 -multi2 multi3 !multi3 multi3=answer
macro* macro2 macro2 macro2
# let's try some malicious macro defs
[attr]firstmacro -thirdmacro -secondmacro
[attr]secondmacro firstmacro -firstmacro
[attr]thirdmacro secondmacro=hahaha
macro_bad firstmacro secondmacro thirdmacro
# another test that Peff found was failing
[attr]notest !test
+2
View File
@@ -0,0 +1,2 @@
ign
dir/
+1
View File
@@ -0,0 +1 @@
ignore me
+1
View File
@@ -0,0 +1 @@
boo
+1
View File
@@ -0,0 +1 @@
Yo
+1
View File
@@ -0,0 +1 @@
Hello from the root
+6
View File
@@ -0,0 +1,6 @@
Hello from the root
Some additional lines
Down here below
+19
View File
@@ -0,0 +1,19 @@
Some additional lines
Down here below the other lines
With even more at the end
And lots of good stuff
Anywhere you want
Don't you think
@@ -0,0 +1,14 @@
Here is some stuff at the start
This should go in one hunk (first)
Some additional lines
Down here below the other lines
With even more at the end
Followed by a second hunk of stuff (second)
That happens down here
@@ -0,0 +1,7 @@
* subattr=yes -negattr
*.txt another=zero
sub/*.txt another=one
ab* merge=filfre
abc -foo -bar
*.c frotz
deep/file deepdeep
+37
View File
@@ -0,0 +1,37 @@
# Test file from gitattributes(5) example:
If you have these three gitattributes file:
(in $GIT_DIR/info/attributes)
a* foo !bar -baz
(in .gitattributes)
abc foo bar baz
(in t/.gitattributes)
ab* merge=filfre
abc -foo -bar
*.c frotz
the attributes given to path t/abc are computed as follows:
1. By examining t/.gitattributes (which is in the same directory as the path
in question), git finds that the first line matches. merge attribute is
set. It also finds that the second line matches, and attributes foo and
bar are unset.
2. Then it examines .gitattributes (which is in the parent directory), and
finds that the first line matches, but t/.gitattributes file already
decided how merge, foo and bar attributes should be given to this path,
so it leaves foo and bar unset. Attribute baz is set.
3. Finally it examines $GIT_DIR/info/attributes. This file is used to
override the in-tree settings. The first line is a match, and foo is set,
bar is reverted to unspecified state, and baz is unset.
As the result, the attributes assignment to t/abc becomes:
foo set to true
bar unspecified
baz set to false
merge set to string value "filfre"
frotz unspecified
+1
View File
@@ -0,0 +1 @@
hi
@@ -0,0 +1 @@
in ignored dir
@@ -0,0 +1 @@
below ignored dir
@@ -0,0 +1,3 @@
d/* test=a/b/d/*
d/yes notest
@@ -0,0 +1 @@
hi
@@ -0,0 +1 @@
subsub
@@ -0,0 +1,2 @@
Hello from the subdir
@@ -0,0 +1 @@
Hello again
@@ -0,0 +1 @@
ref: refs/heads/master
@@ -0,0 +1,6 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
@@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.
Binary file not shown.
@@ -0,0 +1,6 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
@@ -0,0 +1 @@
58f7cf825b553ef7c26e5b9f8a23599c1a9ca296 refs/heads/master
@@ -0,0 +1,4 @@
0000000000000000000000000000000000000000 67c1640e91ccbaf0793591be09bf572cf40c9a53 Russell Belfer <rb@github.com> 1335817070 -0700 commit (initial): Initial commit
67c1640e91ccbaf0793591be09bf572cf40c9a53 d441d7d88f52c28c2b23940ce4c33756748425f9 Russell Belfer <rb@github.com> 1335817296 -0700 commit: Adding some files in subtrees
d441d7d88f52c28c2b23940ce4c33756748425f9 67c1640e91ccbaf0793591be09bf572cf40c9a53 Russell Belfer <rb@github.com> 1335817353 -0700 HEAD^: updating HEAD
67c1640e91ccbaf0793591be09bf572cf40c9a53 58f7cf825b553ef7c26e5b9f8a23599c1a9ca296 Russell Belfer <rb@github.com> 1335817372 -0700 commit: Adding subtree data
@@ -0,0 +1,4 @@
0000000000000000000000000000000000000000 67c1640e91ccbaf0793591be09bf572cf40c9a53 Russell Belfer <rb@github.com> 1335817070 -0700 commit (initial): Initial commit
67c1640e91ccbaf0793591be09bf572cf40c9a53 d441d7d88f52c28c2b23940ce4c33756748425f9 Russell Belfer <rb@github.com> 1335817296 -0700 commit: Adding some files in subtrees
d441d7d88f52c28c2b23940ce4c33756748425f9 67c1640e91ccbaf0793591be09bf572cf40c9a53 Russell Belfer <rb@github.com> 1335817353 -0700 HEAD^: updating HEAD
67c1640e91ccbaf0793591be09bf572cf40c9a53 58f7cf825b553ef7c26e5b9f8a23599c1a9ca296 Russell Belfer <rb@github.com> 1335817372 -0700 commit: Adding subtree data
@@ -0,0 +1,3 @@
x[
Γ Eϋν*ά@PJι
]€™&“`ΜώλϊwΈ 'o¥ΜMΈK«D qΚΛμ5DFΛ#δ!!=VZDΟL†:ƒ%L}ƒ!dC¬g›¶*ίηqΠ²Θ-LUήkz~η6ι–·ςΪ«νΰWε”}ν}­«>ΕgΛΎΥ{fβϊ%ρ ΅Gς

Some files were not shown because too many files have changed in this diff Show More