Here are the topics that have been cooking. Commits prefixed with
'-' are only in 'pu' (proposed updates) while commits prefixed with
'+' are in 'next'. The ones marked with '.' do not appear in any of
the integration branches, but I am still holding onto them.
As I am preparing to go offline next week for about a week, a
handful of topics have been merged to 'master' and 'next' is getting
thinner.
You can find the changes described here in the integration branches
of the repositories listed at
http://git-blame.blogspot.com/p/git-public-repositories.html
--------------------------------------------------
[Graduated to "master"]
* bc/vcs-svn-cleanup (2017-08-20) 2 commits
(merged to 'next' on 2017-08-22 at d8494b5d5b)
+ vcs-svn: rename repo functions to "svn_repo"
+ vcs-svn: remove unused prototypes
(this branch is used by bc/hash-algo and jn/vcs-svn-cleanup.)
Code clean-up.
* bw/submodule-config-cleanup (2017-08-03) 17 commits
(merged to 'next' on 2017-08-24 at e35d58c4c6)
+ submodule: remove gitmodules_config
+ unpack-trees: improve loading of .gitmodules
+ submodule-config: lazy-load a repository's .gitmodules file
+ submodule-config: move submodule-config functions to submodule-config.c
+ submodule-config: remove support for overlaying repository config
+ diff: stop allowing diff to have submodules configured in .git/config
+ submodule: remove submodule_config callback routine
+ unpack-trees: don't respect submodule.update
+ submodule: don't rely on overlayed config when setting diffopts
+ fetch: don't overlay config with submodule-config
+ submodule--helper: don't overlay config in update-clone
+ submodule--helper: don't overlay config in remote_submodule_branch
+ add, reset: ensure submodules can be added or reset
+ submodule: don't use submodule_from_name
+ t7411: check configuration parsing errors
+ Merge branch 'bc/object-id' into bw/submodule-config-cleanup
+ Merge branch 'bw/grep-recurse-submodules' into bw/submodule-config-cleanup
Code clean-up to avoid mixing values read from the .gitmodules file
and values read from the .git/config file.
So, after the recent discussion around submodule.<name>.update (and
its resolution "use submodule.<name>.active; "reset --hard" must
ignore the .update thing"), this is now good to go, I presume?
Please yell at me that I am clueless if that is not the case ;-)
* jc/cutoff-config (2017-08-22) 6 commits
(merged to 'next' on 2017-08-24 at 2dcbf9ae04)
+ rerere: allow approxidate in gc.rerereResolved/gc.rerereUnresolved
+ rerere: represent time duration in timestamp_t internally
+ t4200: parameterize "rerere gc" custom expiry test
+ t4200: gather "rerere gc" together
+ t4200: make "rerere gc" test more robust
+ t4200: give us a clean slate after "rerere gc" tests
"[gc] rerereResolved = 5.days" used to be invalid, as the variable
is defined to take an integer counting the number of days. It now
is allowed.
* jk/trailers-parse (2017-08-20) 9 commits
(merged to 'next' on 2017-08-22 at 2d4d937141)
+ doc/interpret-trailers: fix "the this" typo
(merged to 'next' on 2017-08-19 at faa63f8196)
+ pretty: support normalization options for %(trailers)
+ t4205: refactor %(trailers) tests
+ pretty: move trailer formatting to trailer.c
+ interpret-trailers: add --parse convenience option
+ interpret-trailers: add an option to unfold values
+ interpret-trailers: add an option to show only existing trailers
+ interpret-trailers: add an option to show only the trailers
+ trailer: put process_trailers() options into a struct
"git interpret-trailers" has been taught a "--parse" and a few
other options to make it easier for scripts to grab existing
trailer lines from a commit log message.
Possible leftover bits are mentioned in
cf. <[email protected]>
* jn/vcs-svn-cleanup (2017-08-23) 4 commits
(merged to 'next' on 2017-08-24 at c184f08f5f)
+ vcs-svn: move remaining repo_tree functions to fast_export.h
+ vcs-svn: remove repo_delete wrapper function
+ vcs-svn: remove custom mode constants
+ vcs-svn: remove more unused prototypes and declarations
(this branch uses bc/vcs-svn-cleanup; is tangled with bc/hash-algo.)
Code clean-up.
* js/gitweb-raw-blob-link-in-history (2017-08-22) 1 commit
(merged to 'next' on 2017-08-23 at 16258266e2)
+ gitweb: add 'raw' blob_plain link in history overview
"gitweb" shows a link to visit the 'raw' contents of blbos in the
history overview page.
* jt/diff-color-move-fix (2017-08-16) 3 commits
(merged to 'next' on 2017-08-19 at 6ae3831c8c)
+ diff: define block by number of alphanumeric chars
+ diff: respect MIN_BLOCK_LENGTH for last block
+ diff: avoid redundantly clearing a flag
(this branch uses sb/diff-color-move.)
A handful of bugfixes and an improvement to "diff --color-moved".
* jt/doc-pack-objects-fix (2017-08-23) 1 commit
(merged to 'next' on 2017-08-24 at 7e4c3c0c9f)
+ Doc: clarify that pack-objects makes packs, plural
Doc updates.
* jt/packmigrate (2017-08-23) 23 commits
(merged to 'next' on 2017-08-24 at 34a628ae6c)
+ pack: move for_each_packed_object()
+ pack: move has_pack_index()
+ pack: move has_sha1_pack()
+ pack: move find_pack_entry() and make it global
+ pack: move find_sha1_pack()
+ pack: move find_pack_entry_one(), is_pack_valid()
+ pack: move check_pack_index_ptr(), nth_packed_object_offset()
+ pack: move nth_packed_object_{sha1,oid}
+ pack: move clear_delta_base_cache(), packed_object_info(), unpack_entry()
+ pack: move unpack_object_header()
+ pack: move get_size_from_delta()
+ pack: move unpack_object_header_buffer()
+ pack: move {,re}prepare_packed_git and approximate_object_count
+ pack: move install_packed_git()
+ pack: move add_packed_git()
+ pack: move unuse_pack()
+ pack: move use_pack()
+ pack: move pack-closing functions
+ pack: move release_pack_memory()
+ pack: move open_pack_index(), parse_pack_index()
+ pack: move pack_report()
+ pack: move static state variables
+ pack: move pack name-related functions
Code movement to make it easier to hack later.
* jt/stash-tests (2017-08-19) 3 commits
(merged to 'next' on 2017-08-22 at 0b022697aa)
+ stash: add a test for stashing in a detached state
+ stash: add a test for when apply fails during stash branch
+ stash: add a test for stash create with no files
Test update to improve coverage for "git stash" operations.
* kw/write-index-reduce-alloc (2017-08-21) 3 commits
(merged to 'next' on 2017-08-24 at 29f7daad85)
+ read-cache: avoid allocating every ondisk entry when writing
+ read-cache: fix memory leak in do_write_index
+ perf: add test for writing the index
We used to spend more than necessary cycles allocating and freeing
piece of memory while writing each index entry out. This has been
optimized.
* mg/killed-merge (2017-08-23) 4 commits
(merged to 'next' on 2017-08-24 at 5db37fc192)
+ merge: save merge state earlier
+ merge: split write_merge_state in two
+ merge: clarify call chain
+ Documentation/git-merge: explain --continue
Killing "git merge --edit" before the editor returns control left
the repository in a state with MERGE_MSG but without MERGE_HEAD,
which incorrectly tells the subsequent "git commit" that there was
a squash merge in progress. This has been fixed.
* mh/ref-lock-entry (2017-08-23) 1 commit
(merged to 'next' on 2017-08-24 at 67760267f4)
+ refs: retry acquiring reference locks for 100ms
The code to acquire a lock on a reference (e.g. while accepting a
push from a client) used to immediately fail when the reference is
already locked---now it waits for a very short while and retries,
which can make it succeed if the lock holder was holding it during
a read-only operation.
* pb/trailers-from-command-line (2017-08-14) 4 commits
(merged to 'next' on 2017-08-19 at b12342e49e)
+ interpret-trailers: fix documentation typo
+ interpret-trailers: add options for actions
+ trailers: introduce struct new_trailer_item
+ trailers: export action enums and corresponding lookup functions
"git interpret-trailers" learned to take the trailer specifications
from the command line that overrides the configured values.
* po/object-id (2017-08-20) 6 commits
(merged to 'next' on 2017-08-23 at 0faff383a8)
+ sha1_file: convert index_stream to struct object_id
+ sha1_file: convert hash_sha1_file_literally to struct object_id
+ sha1_file: convert index_fd to struct object_id
+ sha1_file: convert index_path to struct object_id
+ read-cache: convert to struct object_id
+ builtin/hash-object: convert to struct object_id
Conversion from uchar[20] to struct object_id continues.
* sb/diff-color-move (2017-06-30) 26 commits
(merged to 'next' on 2017-08-19 at a239d031bc)
+ diff: document the new --color-moved setting
+ diff.c: add dimming to moved line detection
+ diff.c: color moved lines differently, plain mode
+ diff.c: color moved lines differently
+ diff.c: buffer all output if asked to
+ diff.c: emit_diff_symbol learns about DIFF_SYMBOL_SUMMARY
+ diff.c: emit_diff_symbol learns about DIFF_SYMBOL_STAT_SEP
+ diff.c: convert word diffing to use emit_diff_symbol
+ diff.c: convert show_stats to use emit_diff_symbol
+ diff.c: convert emit_binary_diff_body to use emit_diff_symbol
+ submodule.c: migrate diff output to use emit_diff_symbol
+ diff.c: emit_diff_symbol learns DIFF_SYMBOL_REWRITE_DIFF
+ diff.c: emit_diff_symbol learns about DIFF_SYMBOL_BINARY_FILES
+ diff.c: emit_diff_symbol learns DIFF_SYMBOL_HEADER
+ diff.c: emit_diff_symbol learns DIFF_SYMBOL_FILEPAIR_{PLUS, MINUS}
+ diff.c: emit_diff_symbol learns DIFF_SYMBOL_CONTEXT_INCOMPLETE
+ diff.c: emit_diff_symbol learns DIFF_SYMBOL_WORDS[_PORCELAIN]
+ diff.c: migrate emit_line_checked to use emit_diff_symbol
+ diff.c: emit_diff_symbol learns DIFF_SYMBOL_NO_LF_EOF
+ diff.c: emit_diff_symbol learns DIFF_SYMBOL_CONTEXT_FRAGINFO
+ diff.c: emit_diff_symbol learns DIFF_SYMBOL_CONTEXT_MARKER
+ diff.c: introduce emit_diff_symbol
+ diff.c: factor out diff_flush_patch_all_file_pairs
+ diff.c: move line ending check into emit_hunk_header
+ diff.c: readability fix
+ Merge branch 'sb/hashmap-customize-comparison' into sb/diff-color-move
(this branch is used by jt/diff-color-move-fix.)
"git diff" has been taught to optionally paint new lines that are
the same as deleted lines elsewhere differently from genuinely new
lines.
* tb/apply-with-crlf (2017-08-19) 2 commits
(merged to 'next' on 2017-08-22 at f92bf67061)
+ apply: file commited with CRLF should roundtrip diff and apply
+ convert: add SAFE_CRLF_KEEP_CRLF
(this branch is tangled with jc/apply-with-crlf.)
"git apply" that is used as a better "patch -p1" failed to apply a
taken from a file with CRLF line endings to a file with CRLF line
endings. The root cause was because it misused convert_to_git()
that tried to do "safe-crlf" processing by looking at the index
entry at the same path, which is a nonsense---in that mode, "apply"
is not working on the data in (or derived from) the index at all.
This has been fixed.
--------------------------------------------------
[New Topics]
* jk/drop-sha1-entry-pos (2017-08-25) 1 commit
(merged to 'next' on 2017-08-25 at 7ef03bb281)
+ sha1-lookup: remove sha1_entry_pos() from header file
Code clean-up.
Will merge to 'master'.
* ls/convert-filter-progress (2017-08-24) 1 commit
(merged to 'next' on 2017-08-25 at ce0bb30e8f)
+ convert: display progress for filtered objects that have been delayed
The codepath to call external process filter for smudge/clean
operation learned to show the progress meter.
Will merge to 'master'.
* mm/send-email-cc-cruft (2017-08-24) 2 commits
(merged to 'next' on 2017-08-25 at 65933523ab)
+ send-email: don't use Mail::Address, even if available
+ send-email: fix garbage removal after address
In addition to "cc: <[email protected]> # cruft", "cc: [email protected] # cruft"
was taught to "git send-email" as a valid way to tell it that it
needs to also send a carbon copy to <[email protected]> in the trailer
section.
Will merge to 'master'.
* nd/worktree-kill-parse-ref (2017-08-24) 1 commit
(merged to 'next' on 2017-08-25 at a5da82b2ea)
+ branch: fix branch renaming not updating HEADs correctly
"git branch -M a b" while on a branch that is completely unrelated
to either branch a or branch b misbehaved when multiple worktree
was in use. This has been fixed.
Will merge to 'master'.
* pc/submodule-helper (2017-08-25) 4 commits
- submodule: port submodule subcommand 'status' from shell to C
- submodule: port set_name_rev() from shell to C
- submodule--helper: introduce for_each_listed_submodule()
- submodule--helper: introduce get_submodule_displaypath()
GSoC.
* sb/parse-options-blank-line-before-option-list (2017-08-25) 1 commit
- usage_with_options: omit double new line on empty option list
"git worktree" with no option and no subcommand showed too many
blank lines in its help text, which has been reduced.
* rs/apply-epoch (2017-08-25) 2 commits
(merged to 'next' on 2017-08-26 at c2bf5ceca3)
+ apply: remove epoch date from regex
+ apply: check date of potential epoch timestamps first
Code simplification.
Will merge to 'master'.
* mh/notes-cleanup (2017-08-26) 12 commits
(merged to 'next' on 2017-08-26 at 2d6df46966)
+ load_subtree(): declare some variables to be `size_t`
+ hex_to_bytes(): simpler replacement for `get_oid_hex_segment()`
+ get_oid_hex_segment(): don't pad the rest of `oid`
+ load_subtree(): combine some common code
+ get_oid_hex_segment(): return 0 on success
+ load_subtree(): only consider blobs to be potential notes
+ load_subtree(): check earlier whether an internal node is a tree entry
+ load_subtree(): separate logic for internal vs. terminal entries
+ load_subtree(): fix incorrect comment
+ load_subtree(): reduce the scope of some local variables
+ load_subtree(): remove unnecessary conditional
+ notes: make GET_NIBBLE macro more robust
Code clean-up.
Will merge to 'master'.
--------------------------------------------------
[Stalled]
* mg/status-in-progress-info (2017-05-10) 2 commits
- status --short --inprogress: spell it as --in-progress
- status: show in-progress info for short status
"git status" learns an option to report various operations
(e.g. "merging") that the user is in the middle of.
cf. <[email protected]>
* nd/worktree-move (2017-04-20) 6 commits
- worktree remove: new command
- worktree move: refuse to move worktrees with submodules
- worktree move: accept destination as directory
- worktree move: new command
- worktree.c: add update_worktree_location()
- worktree.c: add validate_worktree()
"git worktree" learned move and remove subcommands.
Expecting a reroll.
cf. <[email protected]>
cf. <[email protected]>
cf. <[email protected]>
* sg/clone-refspec-from-command-line-config (2017-06-16) 2 commits
- Documentation/clone: document ignored configuration variables
- clone: respect additional configured fetch refspecs during initial fetch
(this branch is used by sg/remote-no-string-refspecs.)
"git clone -c var=val" is a way to set configuration variables in
the resulting repository, but it is more useful to also make these
variables take effect while the initial clone is happening,
e.g. these configuration variables could be fetch refspecs.
Waiting for a response.
cf. <[email protected]>
cf. <[email protected]>
* js/rebase-i-final (2017-07-27) 10 commits
- rebase -i: rearrange fixup/squash lines using the rebase--helper
- t3415: test fixup with wrapped oneline
- rebase -i: skip unnecessary picks using the rebase--helper
- rebase -i: check for missing commits in the rebase--helper
- t3404: relax rebase.missingCommitsCheck tests
- rebase -i: also expand/collapse the SHA-1s via the rebase--helper
- rebase -i: do not invent onelines when expanding/collapsing SHA-1s
- rebase -i: remove useless indentation
- rebase -i: generate the script via rebase--helper
- t3415: verify that an empty instructionFormat is handled as before
The final batch to "git rebase -i" updates to move more code from
the shell script to C.
Expecting a reroll.
* bp/fsmonitor (2017-06-12) 6 commits
- fsmonitor: add a sample query-fsmonitor hook script for Watchman
- fsmonitor: add documentation for the fsmonitor extension.
- fsmonitor: add test cases for fsmonitor extension
- fsmonitor: teach git to optionally utilize a file system monitor to speed up
detecting new or changed files.
- dir: make lookup_untracked() available outside of dir.c
- bswap: add 64 bit endianness helper get_be64
We learned to talk to watchman to speed up "git status".
Expecting a reroll.
cf. <[email protected]>
--------------------------------------------------
[Cooking]
* nd/prune-in-worktree (2017-08-24) 16 commits
- refs.c: reindent get_submodule_ref_store()
- refs.c: remove fallback-to-main-store code get_submodule_ref_store()
- rev-list: expose and document --single-worktree
- revision.c: --reflog add HEAD reflog from all worktrees
- files-backend: make reflog iterator go through per-worktree reflog
- revision.c: --all adds HEAD from all worktrees
- refs: remove dead for_each_*_submodule()
- refs.c: move for_each_remote_ref_submodule() to submodule.c
- revision.c: use refs_for_each*() instead of for_each_*_submodule()
- refs: add refs_head_ref()
- refs: move submodule slash stripping code to get_submodule_ref_store
- refs.c: refactor get_submodule_ref_store(), share common free block
- revision.c: --indexed-objects add objects from all worktrees
- revision.c: refactor add_index_objects_to_pending()
- refs.c: use is_dir_sep() in resolve_gitlink_ref()
- revision.h: new flag in struct rev_info wrt. worktree-related refs
"git gc" and friends when multiple worktrees are used off of a
single repository did not consider the index and per-worktree refs
of other worktrees as the root for reachability traversal, making
objects that are in use only in other worktrees to be subject to
garbage collection.
* ma/ts-cleanups (2017-08-23) 4 commits
(merged to 'next' on 2017-08-25 at e0e8cc53ec)
+ ThreadSanitizer: add suppressions
+ strbuf_setlen: don't write to strbuf_slopbuf
+ pack-objects: take lock before accessing `remaining`
+ convert: always initialize attr_action in convert_attrs
Assorted bugfixes and clean-ups.
Will merge to 'master'.
* ma/up-to-date (2017-08-23) 2 commits
(merged to 'next' on 2017-08-25 at 902f6e9140)
+ treewide: correct several "up-to-date" to "up to date"
+ Documentation/user-manual: update outdated example output
Message and doc updates.
Will merge to 'master'.
* rs/archive-excluded-directory (2017-08-19) 3 commits
(merged to 'next' on 2017-08-22 at 1853597c35)
+ archive: don't queue excluded directories
+ archive: factor out helper functions for handling attributes
+ t5001: add tests for export-ignore attributes and exclude pathspecs
"git archive" did not work well with pathspecs and the
export-ignore attribute.
Will merge to 'master'.
We may want to resurrect the "we don't archive an empty directory"
bonus patch, but I do not mind merging the above early to 'next'
and leave it as a separate follow-up enhancement.
cf. <[email protected]>
* bc/hash-algo (2017-08-20) 5 commits
- hash-algo: switch empty tree and blob lookups to use hash abstraction
- hash-algo: integrate hash algorithm support with repo setup
- hash-algo: add structure representing hash algorithm
- setup: expose enumerated repo info
- Merge branch 'bc/vcs-svn-cleanup' into bc/hash-algo
RFC
cf. <[email protected]>
* ks/branch-set-upstream (2017-08-17) 3 commits
(merged to 'next' on 2017-08-22 at 10fd938390)
+ branch: quote branch/ref names to improve readability
+ builtin/branch: stop supporting the "--set-upstream" option
+ t3200: cleanup cruft of a test
"branch --set-upstream" that has been deprecated in Git 1.8 has
finally been retired.
Will merge to 'master'.
* po/read-graft-line (2017-08-18) 4 commits
(merged to 'next' on 2017-08-22 at 1e3fe0d3a1)
+ commit: rewrite read_graft_line
+ commit: allocate array using object_id size
+ commit: replace the raw buffer with strbuf in read_graft_line
+ sha1_file: fix definition of null_sha1
Conversion from uchar[20] to struct object_id continues; this is to
ensure that we do not assume sizeof(struct object_id) is the same
as the length of SHA-1 hash (or length of longest hash we support).
Will merge to 'master'.
* mk/diff-delta-uint-may-be-shorter-than-ulong (2017-08-10) 1 commit
. diff-delta: fix encoding size that would not fit in "unsigned int"
The machinery to create xdelta used in pack files received the
sizes of the data in size_t, but lost the higher bits of them by
storing them in "unsigned int" during the computation, which is
fixed.
Dropped, as it was rerolled for review as part of a larger series.
cf. <[email protected]>
* jk/drop-ancient-curl (2017-08-09) 5 commits
- http: #error on too-old curl
- curl: remove ifdef'd code never used with curl >=7.19.4
- http: drop support for curl < 7.19.4
- http: drop support for curl < 7.16.0
- http: drop support for curl < 7.11.1
Some code in http.c that has bitrot is being removed.
Will be rerolled after tc/curl-with-backports stabilizes.
* mk/use-size-t-in-zlib (2017-08-10) 1 commit
. zlib.c: use size_t for size
The wrapper to call into zlib followed our long tradition to use
"unsigned long" for sizes of regions in memory, which have been
updated to use "size_t".
Dropped, as it was rerolled for review as part of a larger series.
cf. <[email protected]>
* mk/diff-delta-avoid-large-offset (2017-08-11) 1 commit
. diff-delta: do not allow delta offset truncation
The delta format used in the packfile cannot reference data at
offset larger than what can be expressed in 4-byte, but the
generator for the data failed to make sure the offset does not
overflow. This has been corrected.
Dropped, as it was rerolled for review as part of a larger series.
cf. <[email protected]>
* bw/git-clang-format (2017-08-14) 2 commits
- Makefile: add style build rule
- clang-format: outline the git project's coding style
"make style" runs git-clang-format to help developers by pointing
out coding style issues.
* sb/submodule-recursive-checkout-detach-head (2017-07-28) 2 commits
- Documentation/checkout: clarify submodule HEADs to be detached
- recursive submodules: detach HEAD from new state
"git checkout --recursive" may overwrite and rewind the history of
the branch that happens to be checked out in submodule
repositories, which might not be desirable. Detach the HEAD but
still allow the recursive checkout to succeed in such a case.
Undecided.
This needs justification in a larger picture; it is unclear why
this is better than rejecting recursive checkout, for example.
* ti/external-sha1dc (2017-08-16) 2 commits
(merged to 'next' on 2017-08-26 at a0fb4e91a5)
+ sha1dc: allow building with the external sha1dc library
+ sha1dc: build git plumbing code more explicitly
Platforms that ship with a separate sha1 with collision detection
library can link to it instead of using the copy we ship as part of
our source tree.
Will merge to 'master'.
* jk/check-ref-format-oor-fix (2017-07-14) 1 commit
- check-ref-format: require a repository for --branch
Discussion slowly continues...
cf. <[email protected]>
cf. <[email protected]>
* rs/sha1-file-micro-optim (2017-07-09) 2 commits
- SQUASH???
- sha1_file: add slash once in for_each_file_in_obj_subdir()
Code cleanup.
Perhaps drop.
cf. <[email protected]>
* jc/allow-lazy-cas (2017-07-06) 1 commit
- push: disable lazy --force-with-lease by default
Because "git push --force-with-lease[=<ref>]" that relies on the
stability of remote-tracking branches is unsafe when something
fetches into the repository behind user's back, it is now disabled
by default. A new configuration variable can be used to enable it
by users who know what they are doing. This would pave the way to
possibly turn `--force` into `--force-with-lease`.
Will discard.
Independent from disabling the feature by default, this stirred up
a discussion to replace the DWIM heuristics with a better one, which
deserves to be its own topic.
cf. <alpine.DEB.2.21.1.1707131435220.4193@virtualbox>
* ex/deprecate-empty-pathspec-as-match-all (2017-06-23) 2 commits
(merged to 'next' on 2017-08-14 at 24db08a6e8)
+ pathspec: die on empty strings as pathspec
+ t0027: do not use an empty string as a pathspec element
The final step to make an empty string as a pathspec element
illegal. We started this by first deprecating and warning a
pathspec that has such an element in 2.11 (Nov 2016).
Hopefully we can merge this down to the 'master' by the end of the
year? A deprecation warning period that is about 1 year does not
sound too bad.
Will cook in 'next'.
As the draft RelNotes says, let's merge this to 'master' after
this release cycle.
* sd/branch-copy (2017-06-18) 3 commits
- branch: add a --copy (-c) option to go with --move (-m)
- branch: add test for -m renaming multiple config sections
- config: create a function to format section headers
"git branch" learned "-c/-C" to create and switch to a new branch
by copying an existing one.
I personally do not think "branch --copy master backup" while on
"master" that switches to "backup" is a good UI, and I *will* say
"I told you so" when users complain after we merge this down to
'master'.
--------------------------------------------------
[Discarded]
* jc/apply-with-crlf (2017-08-16) 5 commits
. apply: clarify read_old_data() is about no-index case
. apply: localize the CRLF business to read_old_data()
. apply: only pay attention to CRLF in the preimage
. apply: remove unused field apply_state.flags
. apply: file commited with CRLF should roundtrip diff and apply
This served as an input to updated tb/apply-with-crlf.