Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3004 commits
Select commit Hold shift + click to select a range
d8ff76c
t5505: 'remote add x y' should work when url.y.insteadOf = x
dscho Feb 17, 2016
527d4a6
git-cvsserver.perl: fix typo
Ephemera Feb 17, 2016
ab2c107
Merge branch 'js/xmerge-marker-eol' into maint
gitster Feb 17, 2016
88221d9
Merge branch 'nd/do-not-move-worktree-manually' into maint
gitster Feb 17, 2016
0eefe10
Merge branch 'aw/push-force-with-lease-reporting' into maint
gitster Feb 17, 2016
7516977
Merge branch 'js/test-lib-windows-emulated-yes' into maint
gitster Feb 17, 2016
8a71d90
Start preparing for 2.7.2
gitster Feb 17, 2016
9f03176
Merge branch 'jk/drop-rsync-transport'
gitster Feb 17, 2016
4b589e5
Merge branch 'js/mingw-tests'
gitster Feb 17, 2016
f60ccdd
Merge branch 'mg/mingw-test-fix'
gitster Feb 17, 2016
dbda66b
Merge branch 'nd/clear-gitenv-upon-use-of-alias'
gitster Feb 17, 2016
c37f9a1
Merge branch 'da/user-useconfigonly'
gitster Feb 17, 2016
790dd33
Merge branch 'jk/test-path-utils-xsnprintf'
gitster Feb 17, 2016
b1a90b6
Merge branch 'jk/rerere-xsnprintf'
gitster Feb 17, 2016
8c7124c
Merge branch 'mm/clean-doc-fix'
gitster Feb 17, 2016
d6a5088
Merge branch 'ah/stripspace-optstring'
gitster Feb 17, 2016
82c17b7
Merge branch 'dw/mergetool-vim-window-shuffle'
gitster Feb 17, 2016
6343832
Seventh batch for the 2.8 cycle
gitster Feb 17, 2016
0233b80
Merge branch 'maint'
gitster Feb 17, 2016
d2b11ec
merge-recursive: option to disable renames
Feb 17, 2016
1b47ad1
merge-recursive: more consistent interface
Feb 17, 2016
a0578e0
t: do not hide Git's exit code in tests using 'nul_to_q'
larsxschneider Feb 17, 2016
1326764
ref-filter: use string_list_split over strbuf_split
peff Feb 17, 2016
50cd83d
ref-filter: bump 'used_atom' and related code to the top
KarthikNayak Feb 17, 2016
b072add
ref-filter: introduce struct used_atom
KarthikNayak Feb 17, 2016
4de707e
ref-filter: introduce parsing functions for each valid atom
KarthikNayak Feb 17, 2016
fd935cc
ref-filter: introduce color_atom_parser()
KarthikNayak Feb 17, 2016
25a8d79
ref-filter: introduce parse_align_position()
KarthikNayak Feb 17, 2016
5bd881d
ref-filter: introduce align_atom_parser()
KarthikNayak Feb 17, 2016
395fb8f
ref-filter: align: introduce long-form syntax
KarthikNayak Feb 17, 2016
5339bda
ref-filter: introduce remote_ref_atom_parser()
KarthikNayak Feb 17, 2016
452db39
ref-filter: introduce contents_atom_parser()
KarthikNayak Feb 17, 2016
fe63c4d
ref-filter: introduce objectname_atom_parser()
KarthikNayak Feb 17, 2016
c3a700f
reflog_expire_cfg: NUL-terminate pattern field
peff Feb 19, 2016
320d0b4
add helpers for detecting size_t overflow
peff Feb 19, 2016
5b442c4
tree-diff: catch integer overflow in combine_diff_path allocation
peff Feb 19, 2016
7454ee3
rename git_config_from_buf to git_config_from_mem
larsxschneider Feb 19, 2016
f459823
exec_cmd.c: use find_last_dir_sep() for code simplification
0xAX Feb 19, 2016
5549029
tests: rename work-tree tests to *work-tree*
Feb 20, 2016
3df0d26
git-svn: hoist out utf8 prep from t9129 to lib-git-svn
Feb 22, 2016
40f4744
git-svn: enable "svn.pathnameencoding" on dcommit
k-satoda Feb 8, 2016
1b42f45
git-svn: apply "svn.pathnameencoding" before URL encoding
k-satoda Feb 8, 2016
63ca1c0
git.c: simplify stripping extension of a file in handle_builtin()
0xAX Feb 22, 2016
473166b
config: add 'origin_type' to config_source struct
larsxschneider Feb 19, 2016
70bd879
config: add '--show-origin' option to print the origin of a config value
larsxschneider Feb 19, 2016
27852b2
branch: report errors in tracking branch setup
pks-t Feb 22, 2016
b81842c
branch: die on config error when unsetting upstream
pks-t Feb 22, 2016
bd25f89
branch: die on config error when editing branch description
pks-t Feb 22, 2016
1a90dfe
submodule: die on config error when linking modules
pks-t Feb 22, 2016
15b92fc
submodule--helper: die on config error when cloning module
pks-t Feb 22, 2016
45ebdcc
remote: die on config error when setting URL
pks-t Feb 22, 2016
ab5e4b6
remote: die on config error when setting/adding branches
pks-t Feb 22, 2016
c397deb
remote: die on config error when manipulating remotes
pks-t Feb 22, 2016
2ee35c4
clone: die on config error in cmd_clone
pks-t Feb 22, 2016
695009b
init-db: die on config errors when initializing empty repo
pks-t Feb 22, 2016
6c24dfb
sequencer: die on config error when saving replay opts
pks-t Feb 22, 2016
2f29c1b
compat: die when unable to set core.precomposeunicode
pks-t Feb 22, 2016
30598ad
config: rename git_config_set to git_config_set_gently
pks-t Feb 22, 2016
3d18064
config: rename git_config_set_or_die to git_config_set
pks-t Feb 22, 2016
59305ae
completion: fix mis-indentation in _git_stash()
szeder Feb 22, 2016
8716bdc
Merge branch 'pw/completion-stash'
gitster Feb 22, 2016
d4bd678
Merge branch 'ks/svn-pathnameencoding-4' of git://git.bogomips.org/gi…
gitster Feb 22, 2016
a64e6a4
diff: clarify textconv interface
peff Feb 22, 2016
83837ec
merge-strategies.txt: fix typo
Feb 21, 2016
fa7b63d
Merge branch 'ah/stripspace-optstring' into maint
gitster Feb 22, 2016
2263a05
Merge branch 'dw/mergetool-vim-window-shuffle' into maint
gitster Feb 22, 2016
924459c
Merge branch 'mm/clean-doc-fix' into maint
gitster Feb 22, 2016
47847c7
Merge branch 'pw/completion-stash' into maint
gitster Feb 22, 2016
2bbea5c
Merge branch 'nd/ita-cleanup' into maint
gitster Feb 22, 2016
326e5bc
Git 2.7.2
gitster Feb 22, 2016
d7145ef
Merge branch 'ew/connect-verbose'
gitster Feb 22, 2016
895f20d
Merge branch 'jk/config-include'
gitster Feb 22, 2016
4091558
Merge branch 'js/git-remote-add-url-insteadof-test'
gitster Feb 22, 2016
70bd996
Sync with 2.7.2
gitster Feb 22, 2016
e7792a7
harden REALLOC_ARRAY and xcalloc against size_t overflow
peff Feb 22, 2016
3689539
add helpers for allocating flex-array structs
peff Feb 22, 2016
b992657
argv-array: add detach function
peff Feb 22, 2016
850d2fe
convert manual allocations to argv_array
peff Feb 22, 2016
b32fa95
convert trivial cases to ALLOC_ARRAY
peff Feb 22, 2016
3733e69
use xmallocz to avoid size arithmetic
peff Feb 22, 2016
96ffc06
convert trivial cases to FLEX_ARRAY macros
peff Feb 22, 2016
50a6c8e
use st_add and st_mult for allocation size computation
peff Feb 22, 2016
20574f5
prepare_{git,shell}_cmd: use argv_array
peff Feb 22, 2016
e0b8373
write_untracked_extension: use FLEX_ALLOC helper
peff Feb 22, 2016
a78c188
fast-import: simplify allocation in start_packfile
peff Feb 22, 2016
5545f05
fetch-pack: simplify add_sought_entry
peff Feb 22, 2016
62f1751
test-path-utils: fix normalize_path_copy output buffer size
peff Feb 22, 2016
7b35eaf
sequencer: simplify memory allocation of get_message
peff Feb 22, 2016
7eb45b5
git-compat-util: drop mempcpy compat code
peff Feb 22, 2016
21f9d0f
transport_anonymize_url: use xstrfmt
peff Feb 22, 2016
b1ddfb9
diff_populate_gitlink: use a strbuf
peff Feb 22, 2016
fb7dbf3
convert ewah/bitmap code to use xmalloc
peff Feb 22, 2016
08c95df
ewah: convert to REALLOC_ARRAY, etc
peff Feb 22, 2016
1a92e53
merge-one-file: use empty blob for add/add base
peff Feb 23, 2016
b779b3a
merge-tree: drop generate_common strategy
peff Feb 23, 2016
907681e
xdiff: drop XDL_EMIT_COMMON
peff Feb 23, 2016
817a0c7
convert.c: correct attr_action()
tboegi Feb 23, 2016
7c0da37
tests: remove no-op full-svn-test target
Feb 23, 2016
a6e5e28
credential-cache--daemon: refactor check_socket_directory
jgriffiths Feb 23, 2016
bd93b8d
credential-cache--daemon: disallow relative socket path
jgriffiths Feb 23, 2016
4867f11
xdiff/xmerge: fix memory leak in xdl_merge
pks-t Feb 23, 2016
f6b1fb3
Documentation/git-push: document that 'simple' is the default
moy Feb 23, 2016
6e61449
credential-cache--daemon: change to the socket dir on startup
jgriffiths Feb 23, 2016
0be43de
t8005: avoid grep on non-ASCII data
johnkeeping Feb 21, 2016
3b1442d
t9200: avoid grep on non-ASCII data
johnkeeping Feb 21, 2016
87892f6
merge-recursive: find-renames resets threshold
Feb 21, 2016
e6a6a76
Merge branch 'nd/dwim-wildcards-as-pathspecs'
gitster Feb 24, 2016
8020803
Merge branch 'nd/git-common-dir-fix'
gitster Feb 24, 2016
e84d5e9
Merge branch 'ew/force-ipv4'
gitster Feb 24, 2016
9831e92
Merge branch 'jk/lose-name-path'
gitster Feb 24, 2016
97c49af
Merge branch 'sp/remote-curl-ssl-strerror'
gitster Feb 24, 2016
65ba75b
Merge branch 'bc/http-empty-auth'
gitster Feb 24, 2016
e79112d
Merge branch 'ce/https-public-key-pinning'
gitster Feb 24, 2016
5e57f9c
Merge branch 'nd/exclusion-regression-fix'
gitster Feb 24, 2016
595bfef
Merge branch 'nd/worktree-add-B'
gitster Feb 24, 2016
c3b1e8d
Merge branch 'jc/am-i-v-fix'
gitster Feb 24, 2016
56f37fd
Eighth batch for 2.8
gitster Feb 24, 2016
2b56bb7
submodule helper list: respect correct path prefix
stefanbeller Feb 24, 2016
63651e1
t3034: add rename threshold tests
Feb 24, 2016
2307211
t3034: test option to disable renames
Feb 24, 2016
44c74ec
t3034: test deprecated interface
Feb 24, 2016
fb43e31
submodule: try harder to fetch needed sha1 by direct fetching sha1
stefanbeller Feb 24, 2016
9537f21
templates/hooks: fix minor typo in the sample update-hook
Feb 25, 2016
4ad21f5
README: use markdown syntax
moy Feb 25, 2016
6164972
README.md: add hyperlinks on filenames
moy Feb 25, 2016
d9b297d
README.md: move the link to git-scm.com up
moy Feb 25, 2016
28513c4
README.md: don't call git stupid in the title
moy Feb 25, 2016
a217f07
README.md: move down historical explanation about the name
moy Feb 25, 2016
2f27520
push: remove "push.default is unset" warning message
moy Feb 25, 2016
638fa62
git config: report when trying to modify a non-existing repo config
dscho Feb 24, 2016
a128386
t5313: test bounds-checks of corrupted/malicious pack/idx files
peff Feb 25, 2016
47fe3f6
nth_packed_object_offset: bounds-check extended offset
peff Feb 25, 2016
13e0b0d
use_pack: handle signed off_t overflow
peff Feb 25, 2016
4938686
refs: document transaction semantics
dturner-tw Feb 25, 2016
658df95
add DEVELOPER makefile knob to check for acknowledged warnings
larsxschneider Feb 25, 2016
9658846
write_or_die: handle EPIPE in async threads
peff Feb 24, 2016
9ff18fa
fetch-pack: ignore SIGPIPE in sideband demuxer
peff Feb 24, 2016
f3ed0b3
test_must_fail: report number of unexpected signal
peff Feb 24, 2016
43f3afc
t5504: handle expected output from SIGPIPE death
peff Feb 24, 2016
5922322
t/lib-httpd: load mod_unixd
May 11, 2015
ae2f255
Merge branch 'tg/git-remote'
gitster Feb 26, 2016
26f7b5c
Merge branch 'kn/ref-filter-atom-parsing'
gitster Feb 26, 2016
7943cba
Merge branch 'ak/extract-argv0-last-dir-sep'
gitster Feb 26, 2016
dede296
Merge branch 'ak/git-strip-extension-from-dashed-command'
gitster Feb 26, 2016
18b26b1
Merge branch 'jk/no-diff-emit-common'
gitster Feb 26, 2016
3ed26a4
Merge branch 'jk/more-comments-on-textconv'
gitster Feb 26, 2016
11529ec
Merge branch 'jk/tighten-alloc'
gitster Feb 26, 2016
dd0f567
Merge branch 'ls/config-origin'
gitster Feb 26, 2016
56d4e7e
Merge branch 'mg/work-tree-tests'
gitster Feb 26, 2016
225caa7
Merge branch 'ps/config-error'
gitster Feb 26, 2016
2a24444
Merge branch 'jg/credential-cache-chdir-to-sockdir'
gitster Feb 26, 2016
1e4c08f
Merge branch 'mm/push-simple-doc'
gitster Feb 26, 2016
c1fa85f
Merge branch 'ps/plug-xdl-merge-leak'
gitster Feb 26, 2016
3163363
Merge branch 'jk/grep-binary-workaround-in-test'
gitster Feb 26, 2016
c6b94eb
Merge branch 'tb/conversion'
gitster Feb 26, 2016
03f682b
Merge branch 'sb/submodule-module-list-fix'
gitster Feb 26, 2016
9671a76
Merge branch 'sb/submodule-fetch-nontip'
gitster Feb 26, 2016
4ce064d
Merge branch 'fa/merge-recursive-no-rename'
gitster Feb 26, 2016
15be621
Merge branch 'mm/push-default-warning'
gitster Feb 26, 2016
8ef250c
Merge branch 'jk/epipe-in-async'
gitster Feb 26, 2016
d3faba8
Merge branch 'js/config-set-in-non-repository'
gitster Feb 26, 2016
69616f7
Merge branch 'dt/initial-ref-xn-commit-doc'
gitster Feb 26, 2016
0f0dd37
Merge branch 'ls/makefile-cflags-developer-tweak'
gitster Feb 26, 2016
2e55d30
Merge branch 'ma/update-hooks-sample-typofix'
gitster Feb 26, 2016
b52cb95
Merge branch 'mm/readme-markdown'
gitster Feb 26, 2016
f02fbc4
Git 2.8-rc0
gitster Feb 26, 2016
7465feb
sha1_file.c: mark strings for translation
pclouds Feb 27, 2016
7b6daf8
config.mak.uname: use clang for Mac OS X 10.6
tboegi Feb 28, 2016
8d5b332
compat/mingw: brown paper bag fix for 50a6c8e
peff Feb 29, 2016
4636f65
builtin/checkout.c: mark strings for translation
pclouds Feb 27, 2016
39ad4f3
builtin/clone.c: mark strings for translation
pclouds Feb 27, 2016
1823c61
ref-filter.c: mark strings for translation
pclouds Feb 27, 2016
13ad56f
trailer.c: mark strings for translation
pclouds Feb 27, 2016
2a73b3d
run-command: do not pass child process data into callbacks
stefanbeller Feb 29, 2016
296d673
Mark win32's pthread_exit() as NORETURN
dscho Mar 2, 2016
f3858f8
t0001: fix GIT_* environment variable check under --valgrind
j6t Mar 3, 2016
d285ab0
documentation: fix some typos
tacker66 Mar 3, 2016
839b639
t9700: fix test for perl older than 5.14
peff Mar 4, 2016
2e7b6af
Merge branch 'js/mingw-tests'
gitster Mar 4, 2016
bc0ffd4
Merge branch 'mg/httpd-tests-update-for-apache-2.4'
gitster Mar 4, 2016
090de6b
Merge branch 'jk/pack-idx-corruption-safety'
gitster Mar 4, 2016
0194200
Merge branch 'tb/avoid-gcc-on-darwin-10-6'
gitster Mar 4, 2016
49a4352
Merge branch 'nd/i18n-2.8.0'
gitster Mar 4, 2016
6dd0a37
Merge branch 'jk/tighten-alloc'
gitster Mar 4, 2016
bbe90e7
Merge branch 'sb/submodule-parallel-fetch'
gitster Mar 4, 2016
3978cd0
Merge branch 'js/pthread-exit-emu-windows'
gitster Mar 4, 2016
28ab768
Merge branch 'nd/clear-gitenv-upon-use-of-alias'
gitster Mar 4, 2016
ab5d01a
Git 2.8-rc1
gitster Mar 4, 2016
4b0d1ee
setup: document check_repository_format()
peff Mar 11, 2016
7875acb
wrap shared_repository global in get/set accessors
peff Mar 11, 2016
ae5f677
lazily load core.sharedrepository
peff Mar 11, 2016
21627f9
check_repository_format_gently: stop using git_config_early
peff Mar 11, 2016
8018186
config: drop git_config_early
peff Mar 11, 2016
2cc7c2c
setup: refactor repo format reading and verification
peff Mar 11, 2016
94ce167
init: use setup.c's repo version verification
peff Mar 11, 2016
652f18e
setup: unify repository version callbacks
peff Mar 11, 2016
c90e529
setup: drop repository_format_version global
peff Mar 11, 2016
274db84
verify_repository_format: mark messages for translation
peff Mar 11, 2016
2118c35
setup: call setup_git_directory_gently before accessing refs
dturner-tw Feb 29, 2016
925b2a5
refs: move head_ref{,_submodule} to the common code
dturner-tw Feb 24, 2016
f3884cb
refs: move for_each_*ref* functions into common code
dturner-tw Feb 24, 2016
6a3ec30
t1430: test the output and error of some commands more carefully
mhagger Mar 23, 2016
1d5d6bf
t1430: clean up broken refs/tags/shadow
mhagger Mar 23, 2016
92eada0
t1430: don't rely on symbolic-ref for creating broken symrefs
mhagger Mar 23, 2016
8c81607
t1430: test for-each-ref in the presence of badly-named refs
mhagger Mar 23, 2016
24ba90c
t1430: improve test coverage of deletion of badly-named refs
mhagger Mar 23, 2016
ef9b250
resolve_missing_loose_ref(): simplify semantics
mhagger Mar 19, 2016
3f98f28
resolve_ref_unsafe(): use for loop to count up to MAXDEPTH
mhagger Mar 21, 2016
d1b2612
resolve_ref_unsafe(): ensure flags is always set
mhagger Mar 21, 2016
4cacb54
resolve_ref_1(): eliminate local variable
mhagger Mar 21, 2016
edc645e
resolve_ref_1(): reorder code
mhagger Mar 21, 2016
f8e2b94
resolve_ref_1(): eliminate local variable "bad_name"
mhagger Mar 21, 2016
1880f54
files-backend: break out ref reading
dturner-tw Feb 24, 2016
1e9c257
read_raw_ref(): manage own scratch space
mhagger Mar 23, 2016
dadc764
Inline resolve_ref_1() into resolve_ref_unsafe()
mhagger Mar 23, 2016
c369f0b
read_raw_ref(): change flags parameter to unsigned int
mhagger Mar 23, 2016
d7e856f
fsck_head_link(): remove unneeded flag variable
mhagger Mar 19, 2016
cbce6e9
cmd_merge(): remove unneeded flag variable
mhagger Mar 19, 2016
21ac09b
checkout_paths(): remove unneeded flag variable
mhagger Mar 19, 2016
02cb110
check_aliased_update(): check that dst_name is non-NULL
mhagger Mar 23, 2016
caeabe8
show_head_ref(): check the result of resolve_ref_namespace()
mhagger Mar 23, 2016
cf61a41
refs: move resolve_ref_unsafe into common code
dturner-tw Feb 24, 2016
6c51af7
refs: add a backend method structure with transaction functions
rsahlberg Feb 24, 2016
1cc2f61
refs: add methods for misc ref operations
rsahlberg Feb 24, 2016
924dd06
refs: add method for do_for_each_ref
dturner-tw Feb 24, 2016
4756022
refs: reduce the visibility of do_for_each_ref()
ramsay-jones Feb 24, 2016
0558404
refs: add do_for_each_per_worktree_ref
dturner-tw Feb 24, 2016
de90fa3
refs: add methods for reflog
dturner-tw Feb 24, 2016
b9ddb12
refs: add method for initial ref transaction commit
dturner-tw Feb 24, 2016
4f89f78
refs: add method for delete_refs
dturner-tw Feb 24, 2016
13da0e9
refs: add methods to init refs db
dturner-tw Feb 24, 2016
bd4f2cb
refs: add method to rename refs
dturner-tw Feb 24, 2016
7acdda3
refs: handle non-normal ref renames
dturner-tw Feb 24, 2016
f518dfc
refs: make lock generic
dturner-tw Feb 24, 2016
16530da
refs: move duplicate check to common code
dturner-tw Feb 24, 2016
7bc98d7
refs: allow log-only updates
dturner-tw Feb 24, 2016
77e22ed
refs: don't dereference on rename
dturner-tw Feb 24, 2016
77057ec
refs: on symref reflog expire, lock symref not referrent
dturner-tw Feb 24, 2016
5485098
refs: resolve symbolic refs first
dturner-tw Feb 24, 2016
625d543
refs: always handle non-normal refs in files backend
dturner-tw Feb 24, 2016
de74383
init: allow alternate ref storage to be set for new repos
dturner-tw Feb 24, 2016
380aa1d
refs: check submodules' ref storage config
dturner-tw Feb 24, 2016
47936c4
clone: allow ref storage backend to be set for clone
dturner-tw Feb 24, 2016
9f0452d
svn: learn ref-storage argument
dturner-tw Feb 24, 2016
bcf26dd
refs: register ref storage backends
dturner-tw Feb 24, 2016
c63e0b5
setup: configure ref storage on setup
dturner-tw Feb 24, 2016
211057d
refs: break out resolve_ref_unsafe_submodule
dturner-tw Feb 24, 2016
87c42db
refs: add LMDB refs storage backend
dturner-tw Feb 24, 2016
0a968b5
refs: tests for lmdb backend
dturner-tw Feb 24, 2016
0a3fa7f
tests: add ref-storage argument
dturner-tw Feb 24, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
/git-status
/git-stripspace
/git-submodule
/git-submodule--helper
/git-svn
/git-symbolic-ref
/git-tag
Expand All @@ -171,6 +172,7 @@
/git-verify-tag
/git-web--browse
/git-whatchanged
/git-worktree
/git-write-tree
/git-core-*/?*
/gitweb/GITWEB-BUILD-OPTIONS
Expand All @@ -184,6 +186,8 @@
/test-delta
/test-dump-cache-tree
/test-dump-split-index
/test-dump-untracked-cache
/test-fake-ssh
/test-scrap-cache-tree
/test-genrandom
/test-hashmap
Expand All @@ -196,13 +200,15 @@
/test-path-utils
/test-prio-queue
/test-read-cache
/test-refs-lmdb-backend
/test-regex
/test-revision-walking
/test-run-command
/test-sha1
/test-sha1-array
/test-sigchain
/test-string-list
/test-submodule-config
/test-subprocess
/test-svn-fe
/test-urlmatch-normalization
Expand Down
2 changes: 1 addition & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Philip Jägenstedt <philip@foolip.org> <philip.jagenstedt@gmail.com>
Philipp A. Hartmann <pah@qo.cx> <ph@sorgh.de>
Philippe Bruhat <book@cpan.org>
Ralf Thielow <ralf.thielow@gmail.com> <ralf.thielow@googlemail.com>
Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>
Ramsay Jones <ramsay@ramsayjones.plus.com> <ramsay@ramsay1.demon.co.uk>
René Scharfe <l.s.r@web.de> <rene.scharfe@lsrfire.ath.cx>
Robert Fitzsimons <robfitz@273k.net>
Robert Shearman <robertshearman@gmail.com> <rob@codeweavers.com>
Expand Down
99 changes: 99 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
language: c

sudo: false

cache:
directories:
- $HOME/travis-cache

os:
- linux
- osx

compiler:
- clang
- gcc

addons:
apt:
packages:
- language-pack-is

env:
global:
- DEVELOPER=1
- P4_VERSION="15.2"
- GIT_LFS_VERSION="1.1.0"
- DEFAULT_TEST_TARGET=prove
- GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
- GIT_TEST_OPTS="--verbose --tee"
- GIT_TEST_CLONE_2GB=YesPlease
# t9810 occasionally fails on Travis CI OS X
# t9816 occasionally fails with "TAP out of sequence errors" on Travis CI OS X
- GIT_SKIP_TESTS="t9810 t9816"

before_install:
- >
case "${TRAVIS_OS_NAME:-linux}" in
linux)
mkdir --parents custom/p4
pushd custom/p4
wget --quiet http://filehost.perforce.com/perforce/r$P4_VERSION/bin.linux26x86_64/p4d
wget --quiet http://filehost.perforce.com/perforce/r$P4_VERSION/bin.linux26x86_64/p4
chmod u+x p4d
chmod u+x p4
export PATH="$(pwd):$PATH"
popd
mkdir --parents custom/git-lfs
pushd custom/git-lfs
wget --quiet https://github.com/github/git-lfs/releases/download/v$GIT_LFS_VERSION/git-lfs-linux-amd64-$GIT_LFS_VERSION.tar.gz
tar --extract --gunzip --file "git-lfs-linux-amd64-$GIT_LFS_VERSION.tar.gz"
cp git-lfs-$GIT_LFS_VERSION/git-lfs .
export PATH="$(pwd):$PATH"
popd
;;
osx)
brew_force_set_latest_binary_hash () {
FORMULA=$1
SHA=$(brew fetch --force $FORMULA 2>&1 | grep ^SHA256: | cut -d ' ' -f 2)
sed -E -i.bak "s/sha256 \"[0-9a-f]{64}\"/sha256 \"$SHA\"/g" \
/usr/local/Library/Taps/homebrew/homebrew-binary/$FORMULA.rb
}
brew update --quiet
brew tap homebrew/binary --quiet
brew_force_set_latest_binary_hash perforce
brew_force_set_latest_binary_hash perforce-server
brew install git-lfs perforce-server perforce gettext
brew link --force gettext
;;
esac;
echo "$(tput setaf 6)Perforce Server Version$(tput sgr0)";
p4d -V | grep Rev.;
echo "$(tput setaf 6)Perforce Client Version$(tput sgr0)";
p4 -V | grep Rev.;
echo "$(tput setaf 6)Git-LFS Version$(tput sgr0)";
git-lfs version;
mkdir -p $HOME/travis-cache;
ln -s $HOME/travis-cache/.prove t/.prove;

before_script: make --jobs=2

script: make --quiet test

after_failure:
- >
: '<-- Click here to see detailed test output! ';
for TEST_EXIT in t/test-results/*.exit;
do
if [ "$(cat "$TEST_EXIT")" != "0" ];
then
TEST_OUT="${TEST_EXIT%exit}out";
echo "------------------------------------------------------------------------";
echo "$(tput setaf 1)${TEST_OUT}...$(tput sgr0)";
echo "------------------------------------------------------------------------";
cat "${TEST_OUT}";
fi;
done;

notifications:
email: false
5 changes: 5 additions & 0 deletions Documentation/CodingGuidelines
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ For C programs:

- We try to keep to at most 80 characters per line.

- As a Git developer we assume you have a reasonably modern compiler
and we recommend you to enable the DEVELOPER makefile knob to
ensure your patch is clear of all compiler warnings we care about,
by e.g. "echo DEVELOPER=1 >>config.mak".

- We try to support a wide range of C compilers to compile Git with,
including old ones. That means that you should not use C99
initializers, even if a lot of compilers grok it.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.7.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Updates since v1.7.6
logic used by "git diff" to determine the hunk header.

* Invoking the low-level "git http-fetch" without "-a" option (which
git itself never did---normal users should not have to worry about
git itself never did--normal users should not have to worry about
this) is now deprecated.

* The "--decorate" option to "git log" and its family learned to
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.8.3.1.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Git v1.8.3.1 Release Notes
========================
==========================

Fixes since v1.8.3
------------------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.8.4.1.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Git v1.8.4.1 Release Notes
========================
==========================

Fixes since v1.8.4
------------------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.8.4.2.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Git v1.8.4.2 Release Notes
========================
==========================

Fixes since v1.8.4.1
--------------------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.8.4.3.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Git v1.8.4.3 Release Notes
========================
==========================

Fixes since v1.8.4.2
--------------------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.8.4.4.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Git v1.8.4.4 Release Notes
========================
==========================

Fixes since v1.8.4.3
--------------------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/RelNotes/1.9.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Performance, Internal Implementation, etc.
* The naming convention of the packfiles has been updated; it used to
be based on the enumeration of names of the objects that are
contained in the pack, but now it also depends on how the packed
result is represented---packing the same set of objects using
result is represented--packing the same set of objects using
different settings (or delta order) would produce a pack with
different name.

Expand Down
9 changes: 9 additions & 0 deletions Documentation/RelNotes/2.2.3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Git v2.2.3 Release Notes
========================

Fixes since v2.2.2
------------------

* A handful of codepaths that used to use fixed-sized arrays to hold
pathnames have been corrected to use strbuf and other mechanisms to
allow longer pathnames without fearing overflows.
18 changes: 18 additions & 0 deletions Documentation/RelNotes/2.3.10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Git v2.3.10 Release Notes
=========================

Fixes since v2.3.9
------------------

* xdiff code we use to generate diffs is not prepared to handle
extremely large files. It uses "int" in many places, which can
overflow if we have a very large number of lines or even bytes in
our input files, for example. Cap the input size to soemwhere
around 1GB for now.

* Some protocols (like git-remote-ext) can execute arbitrary code
found in the URL. The URLs that submodules use may come from
arbitrary sources (e.g., .gitmodules files in a remote
repository), and can hurt those who blindly enable recursive
fetch. Restrict the allowed protocols to well known and safe
ones.
22 changes: 22 additions & 0 deletions Documentation/RelNotes/2.3.8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Git v2.3.8 Release Notes
========================

Fixes since v2.3.7
------------------

* The usual "git diff" when seeing a file turning into a directory
showed a patchset to remove the file and create all files in the
directory, but "git diff --no-index" simply refused to work. Also,
when asked to compare a file and a directory, imitate POSIX "diff"
and compare the file with the file with the same name in the
directory, instead of refusing to run.

* The default $HOME/.gitconfig file created upon "git config --global"
that edits it had incorrectly spelled user.name and user.email
entries in it.

* "git commit --date=now" or anything that relies on approxidate lost
the daylight-saving-time offset.

Also contains typofixes, documentation updates and trivial code
clean-ups.
9 changes: 9 additions & 0 deletions Documentation/RelNotes/2.3.9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Git v2.3.9 Release Notes
========================

Fixes since v2.3.8
------------------

* A handful of codepaths that used to use fixed-sized arrays to hold
pathnames have been corrected to use strbuf and other mechanisms to
allow longer pathnames without fearing overflows.
40 changes: 40 additions & 0 deletions Documentation/RelNotes/2.4.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Git v2.4.1 Release Notes
========================

Fixes since v2.4
----------------

* The usual "git diff" when seeing a file turning into a directory
showed a patchset to remove the file and create all files in the
directory, but "git diff --no-index" simply refused to work. Also,
when asked to compare a file and a directory, imitate POSIX "diff"
and compare the file with the file with the same name in the
directory, instead of refusing to run.

* The default $HOME/.gitconfig file created upon "git config --global"
that edits it had incorrectly spelled user.name and user.email
entries in it.

* "git commit --date=now" or anything that relies on approxidate lost
the daylight-saving-time offset.

* "git cat-file bl $blob" failed to barf even though there is no
object type that is "bl".

* Teach the codepaths that read .gitignore and .gitattributes files
that these files encoded in UTF-8 may have UTF-8 BOM marker at the
beginning; this makes it in line with what we do for configuration
files already.

* Access to objects in repositories that borrow from another one on a
slow NFS server unnecessarily got more expensive due to recent code
becoming more cautious in a naive way not to lose objects to pruning.

* We avoid setting core.worktree when the repository location is the
".git" directory directly at the top level of the working tree, but
the code misdetected the case in which the working tree is at the
root level of the filesystem (which arguably is a silly thing to
do, but still valid).

Also contains typofixes, documentation updates and trivial code
clean-ups.
18 changes: 18 additions & 0 deletions Documentation/RelNotes/2.4.10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Git v2.4.10 Release Notes
=========================

Fixes since v2.4.9
------------------

* xdiff code we use to generate diffs is not prepared to handle
extremely large files. It uses "int" in many places, which can
overflow if we have a very large number of lines or even bytes in
our input files, for example. Cap the input size to soemwhere
around 1GB for now.

* Some protocols (like git-remote-ext) can execute arbitrary code
found in the URL. The URLs that submodules use may come from
arbitrary sources (e.g., .gitmodules files in a remote
repository), and can hurt those who blindly enable recursive
fetch. Restrict the allowed protocols to well known and safe
ones.
45 changes: 45 additions & 0 deletions Documentation/RelNotes/2.4.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Git v2.4.2 Release Notes
========================

Fixes since v2.4.1
------------------

* "git rev-list --objects $old --not --all" to see if everything that
is reachable from $old is already connected to the existing refs
was very inefficient.

* "hash-object --literally" introduced in v2.2 was not prepared to
take a really long object type name.

* "git rebase --quiet" was not quite quiet when there is nothing to
do.

* The completion for "log --decorate=" parameter value was incorrect.

* "filter-branch" corrupted commit log message that ends with an
incomplete line on platforms with some "sed" implementations that
munge such a line. Work it around by avoiding to use "sed".

* "git daemon" fails to build from the source under NO_IPV6
configuration (regression in 2.4).

* "git stash pop/apply" forgot to make sure that not just the working
tree is clean but also the index is clean. The latter is important
as a stash application can conflict and the index will be used for
conflict resolution.

* We have prepended $GIT_EXEC_PATH and the path "git" is installed in
(typically "/usr/bin") to $PATH when invoking subprograms and hooks
for almost eternity, but the original use case the latter tried to
support was semi-bogus (i.e. install git to /opt/foo/git and run it
without having /opt/foo on $PATH), and more importantly it has
become less and less relevant as Git grew more mainstream (i.e. the
users would _want_ to have it on their $PATH). Stop prepending the
path in which "git" is installed to users' $PATH, as that would
interfere the command search order people depend on (e.g. they may
not like versions of programs that are unrelated to Git in /usr/bin
and want to override them by having different ones in /usr/local/bin
and have the latter directory earlier in their $PATH).

Also contains typofixes, documentation updates and trivial code
clean-ups.
Loading