index
:
git.git
main
maint
master
next
seen
todo
The core git plumbing
Junio C. Hamano
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
branch.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-02-08
Merge branch 'rj/status-bisect-while-rebase' into maint-2.43
Junio C Hamano
1
-2
/
+2
2023-10-16
status: fix branch shown when not only bisecting
Rubén Justo
1
-2
/
+2
2023-08-08
branch: error message checking out a branch in use
Rubén Justo
1
-1
/
+1
2023-07-21
branch: update the message to refuse touching a branch in-use
Junio C Hamano
1
-1
/
+1
2023-06-29
Merge branch 'en/header-split-cache-h-part-3'
Junio C Hamano
1
-0
/
+1
2023-06-21
repository: remove unnecessary include of path.h
Elijah Newren
1
-0
/
+1
2023-06-17
branch: fix a leak in setup_tracking
Rubén Justo
1
-1
/
+1
2023-06-12
branch: fix a leak in setup_tracking
Rubén Justo
1
-1
/
+1
2023-06-12
branch: fix a leak in check_tracking_branch
Rubén Justo
1
-1
/
+4
2023-06-12
branch: fix a leak in inherit_tracking
Rubén Justo
1
-1
/
+1
2023-06-12
branch: fix a leak in dwim_and_setup_tracking
Rubén Justo
1
-1
/
+2
2023-05-15
Merge branch 'rj/branch-unborn-in-other-worktrees'
Junio C Hamano
1
-27
/
+0
2023-04-24
hash-ll.h: split out of hash.h to remove dependency on repository.h
Elijah Newren
1
-0
/
+1
2023-04-11
treewide: remove cache.h inclusion due to object-name.h changes
Elijah Newren
1
-1
/
+0
2023-04-11
object-name.h: move declarations for object-name.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-04-11
treewide: be explicit about dependence on advice.h
Elijah Newren
1
-0
/
+1
2023-04-04
Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...
Junio C Hamano
1
-3
/
+4
2023-03-28
libs: use "struct repository *" argument, not "the_repository"
Ævar Arnfjörð Bjarmason
1
-4
/
+4
2023-03-28
cocci: apply the "refs.h" part of "the_repository.pending"
Ævar Arnfjörð Bjarmason
1
-1
/
+2
2023-03-28
cocci: apply the "cache.h" part of "the_repository.pending"
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2023-03-27
branch: test for failures while renaming branches
Rubén Justo
1
-27
/
+0
2023-03-21
environment.h: move declarations for environment.c functions from cache.h
Elijah Newren
1
-0
/
+1
2023-03-21
treewide: be explicit about dependence on gettext.h
Elijah Newren
1
-0
/
+1
2023-03-19
Merge branch 'rj/avoid-switching-to-already-used-branch'
Junio C Hamano
1
-5
/
+9
2023-02-25
branch: fix die_if_checked_out() when ignore_current_worktree
Rubén Justo
1
-5
/
+9
2023-02-23
cache.h: remove dependence on hex.h; make other files include it explicitly
Elijah Newren
1
-0
/
+1
2023-01-18
branch: improve advice when --recurse-submodules fails
Philippe Blain
1
-1
/
+1
2022-07-19
branch: consider refs under 'update-refs'
Derrick Stolee
1
-0
/
+13
2022-07-12
Merge branch 'ds/branch-checked-out' into ds/rebase-update-ref
Junio C Hamano
1
-8
/
+68
2022-06-15
branch: fix branch_checked_out() leaks
Derrick Stolee
1
-10
/
+15
2022-06-15
branch: check for bisects and rebases
Derrick Stolee
1
-8
/
+27
2022-06-15
branch: add branch_checked_out() helper
Derrick Stolee
1
-0
/
+36
2022-06-10
Merge branch 'ab/env-array'
Junio C Hamano
1
-1
/
+1
2022-06-02
run-command API: rename "env_array" to "env"
Ævar Arnfjörð Bjarmason
1
-1
/
+1
2022-05-26
Merge branch 'tk/simple-autosetupmerge'
Junio C Hamano
1
-1
/
+26
2022-05-02
tree-wide: apply equals-null.cocci
Junio C Hamano
1
-1
/
+1
2022-05-02
Merge branch 'ep/maint-equals-null-cocci' into ep/equals-null-cocci
Junio C Hamano
1
-1
/
+1
2022-05-02
Merge branch 'ep/maint-equals-null-cocci' for maint-2.35
Junio C Hamano
1
-1
/
+1
2022-05-02
tree-wide: apply equals-null.cocci
Junio C Hamano
1
-1
/
+1
2022-04-29
branch: new autosetupmerge option 'simple' for matching branches
Tao Klerks
1
-1
/
+26
2022-04-04
Merge branch 'tk/ambiguous-fetch-refspec'
Junio C Hamano
1
-7
/
+56
2022-04-04
Merge branch 'gc/branch-recurse-submodules-fix'
Junio C Hamano
1
-12
/
+35
2022-04-01
tracking branches: add advice to ambiguous refspec error
Tao Klerks
1
-7
/
+56
2022-03-31
branch.c: simplify advice-and-die sequence
Glen Choo
1
-7
/
+4
2022-03-31
branch: rework comments for future developers
Glen Choo
1
-2
/
+2
2022-03-30
branch: remove negative exit code
Glen Choo
1
-1
/
+1
2022-03-30
branch --set-upstream-to: be consistent when advising
Glen Choo
1
-2
/
+3
2022-03-30
branch: give submodule updating advice before exit
Glen Choo
1
-2
/
+4
2022-03-30
branch: support more tracking modes when recursing
Glen Choo
1
-3
/
+26
2022-02-18
Merge branch 'gc/branch-recurse-submodules'
Junio C Hamano
1
-44
/
+233
2022-02-04
branch.c: use 'goto cleanup' in setup_tracking() to fix memory leaks
Glen Choo
1
-3
/
+4
2022-02-04
branch: add --recurse-submodules option for branch creation
Glen Choo
1
-0
/
+141
2022-02-01
branch: add a dry_run parameter to create_branch()
Glen Choo
1
-1
/
+4
2022-02-01
branch: make create_branch() always create a branch
Glen Choo
1
-30
/
+27
2022-02-01
branch: move --set-upstream-to behavior to dwim_and_setup_tracking()
Glen Choo
1
-20
/
+67
2022-01-12
Merge branch 'ak/protect-any-current-branch'
Junio C Hamano
1
-1
/
+1
2022-01-12
branch: missing space fix at line 313
Bagas Sanjaya
1
-1
/
+1
2022-01-10
Merge branch 'js/branch-track-inherit'
Junio C Hamano
1
-47
/
+145
2021-12-20
branch: add flags and config to inherit tracking
Josh Steadmon
1
-7
/
+42
2021-12-20
branch: accept multiple upstream branches for tracking
Josh Steadmon
1
-40
/
+103
2021-12-01
branch: protect branches checked out in all worktrees
Anders Kaseorg
1
-4
/
+9
2021-12-01
worktree: simplify find_shared_symref() memory ownership model
Anders Kaseorg
1
-6
/
+8
2021-12-01
branch: lowercase error messages
Anders Kaseorg
1
-10
/
+10
2021-08-25
advice: remove read uses of most global `advice_` variables
Ben Boeckel
1
-1
/
+1
2021-05-10
Merge branch 'bc/hash-transition-interop-part-1'
Junio C Hamano
1
-1
/
+1
2021-05-07
Merge branch 'ah/plugleaks'
Junio C Hamano
1
-1
/
+1
2021-04-28
branch: FREE_AND_NULL instead of NULL'ing real_ref
Andrzej Hunt
1
-1
/
+1
2021-04-27
hash: provide per-algorithm null OIDs
brian m. carlson
1
-1
/
+1
2021-03-20
merge-ort: write $GIT_DIR/AUTO_MERGE whenever we hit a conflict
Elijah Newren
1
-0
/
+1
2020-09-02
wt-status: tolerate dangling marks
Jonathan Tan
1
-1
/
+1
2020-07-06
Merge branch 'es/get-worktrees-unsort'
Junio C Hamano
1
-1
/
+1
2020-06-22
worktree: drop get_worktrees() unused 'flags' argument
Eric Sunshine
1
-1
/
+1
2020-04-10
merge: teach --autostash option
Denton Liu
1
-0
/
+1
2019-07-09
Merge branch 'nd/switch-and-restore'
Junio C Hamano
1
-2
/
+2
2019-06-13
Merge branch 'nd/merge-quit'
Junio C Hamano
1
-2
/
+7
2019-05-19
Merge branch 'dl/branch-from-3dot-merge-base'
Junio C Hamano
1
-1
/
+1
2019-05-13
merge: remove drop_save() in favor of remove_merge_branch_state()
Nguyễn Thái Ngọc Duy
1
-3
/
+8
2019-05-07
branch: make create_branch accept a merge base rev
Denton Liu
1
-1
/
+1
2019-04-17
commit/reset: try to clean up sequencer state
Phillip Wood
1
-2
/
+2
2019-04-02
checkout: inform the user when removing branch state
Nguyễn Thái Ngọc Duy
1
-4
/
+7
2018-11-12
branch.c: remove the_repository reference
Nguyễn Thái Ngọc Duy
1
-10
/
+11
2018-08-27
Merge branch 'ab/unconditional-free-and-null'
Junio C Hamano
1
-3
/
+1
2018-08-17
refactor various if (x) FREE_AND_NULL(x) to just FREE_AND_NULL(x)
Ævar Arnfjörð Bjarmason
1
-3
/
+1
2018-06-29
commit: add repository argument to lookup_commit_reference
Stefan Beller
1
-1
/
+1
2018-06-29
Merge branch 'sb/object-store-grafts' into sb/object-store-lookup
Junio C Hamano
1
-7
/
+7
2018-05-18
path.c: migrate global git_path_* to take a repository argument
Stefan Beller
1
-7
/
+7
2018-05-18
refspec: rename struct refspec to struct refspec_item
Brandon Williams
1
-3
/
+3
2018-05-18
refspec: move refspec parsing logic into its own file
Brandon Williams
1
-0
/
+1
2017-12-27
Merge branch 'ks/branch-cleanup'
Junio C Hamano
1
-2
/
+2
2017-12-07
branch: group related arguments of create_branch()
Kaartic Sivaraam
1
-1
/
+1
2017-12-07
branch: improve documentation and naming of create_branch() parameters
Kaartic Sivaraam
1
-2
/
+2
2017-11-28
Merge branch 'jc/branch-name-sanity'
Junio C Hamano
1
-14
/
+30
2017-10-16
refs: convert dwim_ref and expand_ref to struct object_id
brian m. carlson
1
-1
/
+1
2017-10-16
refs: update ref transactions to use struct object_id
brian m. carlson
1
-1
/
+1
2017-10-13
branch: split validate_new_branchname() into two
Junio C Hamano
1
-11
/
+23
2017-10-13
branch: streamline "attr_only" handling in validate_new_branchname()
Junio C Hamano
1
-8
/
+12
2017-09-24
refs: pass NULL to resolve_ref_unsafe() if hash is not needed
René Scharfe
1
-2
/
+1
2017-09-10
Merge branch 'nd/worktree-kill-parse-ref'
Junio C Hamano
1
-2
/
+3
2017-08-24
branch: fix branch renaming not updating HEADs correctly
Nguyễn Thái Ngọc Duy
1
-2
/
+3
2017-08-17
branch: quote branch/ref names to improve readability
Kaartic Sivaraam
1
-8
/
+8
2017-06-24
Merge branch 'ab/free-and-null'
Junio C Hamano
1
-2
/
+1
2017-06-24
Merge branch 'bw/config-h'
Junio C Hamano
1
-0
/
+1
2017-06-16
coccinelle: make use of the "type" FREE_AND_NULL() rule
Ævar Arnfjörð Bjarmason
1
-2
/
+1
2017-06-15
config: don't include config.h by default
Brandon Williams
1
-0
/
+1
2017-05-29
Merge branch 'bc/object-id'
Junio C Hamano
1
-8
/
+8
2017-05-16
Merge branch 'nd/worktree-kill-parse-ref'
Junio C Hamano
1
-7
/
+8
2017-05-08
Convert lookup_commit* to struct object_id
brian m. carlson
1
-1
/
+1
2017-05-02
branch: convert to struct object_id
brian m. carlson
1
-8
/
+8
2017-04-24
refs: kill set_worktree_head_symref()
Nguyễn Thái Ngọc Duy
1
-6
/
+6
2017-04-24
worktree.c: kill parse_ref() in favor of refs_resolve_ref_unsafe()
Nguyễn Thái Ngọc Duy
1
-1
/
+2
2017-03-30
create_branch: use xstrfmt for reflog message
Jeff King
1
-5
/
+4
2017-03-30
create_branch: move msg setup closer to point of use
Jeff King
1
-8
/
+9
2017-02-20
branch: record creation of renamed branch in HEAD's log
Kyle Meyer
1
-2
/
+3
2017-01-31
refs: add option core.logAllRefUpdates = always
Cornelius Weig
1
-1
/
+1
2016-11-28
worktree.c: get_worktrees() takes a new flag argument
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2016-11-09
create_branch: drop unused "head" parameter
Jeff King
1
-2
/
+1
2016-04-22
worktree.c: check whether branch is rebased in another worktree
Nguyễn Thái Ngọc Duy
1
-2
/
+2
2016-04-22
worktree.c: make find_shared_symref() return struct worktree *
Nguyễn Thái Ngọc Duy
1
-6
/
+7
2016-04-22
worktree.c: store "id" instead of "git_dir"
Nguyễn Thái Ngọc Duy
1
-1
/
+2
2016-04-04
branch -m: update all per-worktree HEADs
Kazuki Yamaguchi
1
-0
/
+23
2016-02-22
config: rename git_config_set to git_config_set_gently
Patrick Steinhardt
1
-3
/
+3
2016-02-22
branch: report errors in tracking branch setup
Patrick Steinhardt
1
-14
/
+36
2015-11-20
Remove get_object_hash.
brian m. carlson
1
-1
/
+1
2015-11-20
Add several uses of get_object_hash.
brian m. carlson
1
-1
/
+1
2015-10-02
worktree: add top-level worktree.c
Michael Rappazzo
1
-78
/
+1
2015-08-25
Merge branch 'dt/notes-multiple'
Junio C Hamano
1
-12
/
+34
2015-08-19
Merge branch 'jk/git-path'
Junio C Hamano
1
-7
/
+7
2015-08-12
Merge branch 'es/worktree-add-cleanup'
Junio C Hamano
1
-0
/
+67
2015-08-11
worktrees: add find_shared_symref
David Turner
1
-12
/
+34
2015-08-10
memoize common git-path "constant" files
Jeff King
1
-7
/
+7
2015-07-20
branch: publish die_if_checked_out()
Eric Sunshine
1
-0
/
+67
2015-02-17
ref_transaction_update(): remove "have_old" parameter
Michael Haggerty
1
-2
/
+3
2014-10-15
refs.c: change resolve_ref_unsafe reading argument to be a flags field
Ronnie Sahlberg
1
-1
/
+1
2014-10-15
refs.c: pass the ref log message to _create/delete/update instead of _commit
Ronnie Sahlberg
1
-2
/
+2
2014-09-11
Merge branch 'rs/ref-transaction-1'
Junio C Hamano
1
-14
/
+17
2014-09-03
branch.c: use ref transaction for all ref updates
Ronnie Sahlberg
1
-14
/
+17
2014-08-07
branch.c: replace `git_config()` with `git_config_get_string()
Tanay Abhra
1
-20
/
+7
2014-08-07
change `git_config()` return value to void
Tanay Abhra
1
-4
/
+1
2014-06-20
refactor skip_prefix to return a boolean
Jeff King
1
-2
/
+2
2014-03-31
Merge branch 'an/branch-config-message'
Junio C Hamano
1
-23
/
+23
2014-03-24
branch.c: install_branch_config: simplify if chain
Adam
1
-23
/
+23
2014-03-18
Merge branch 'bg/install-branch-config-skip-prefix'
Junio C Hamano
1
-9
/
+9
2014-03-18
Merge branch 'jn/branch-lift-unnecessary-name-length-limit'
Junio C Hamano
1
-4
/
+0
2014-03-06
branch: use skip_prefix() in install_branch_config()
Brian Gesiak
1
-9
/
+9
2014-03-05
branch.c: delete size check of newly tracked branch names
Jacopo Notarstefano
1
-4
/
+0
2013-12-05
replace {pre,suf}fixcmp() with {starts,ends}_with()
Christian Couder
1
-2
/
+2
2013-10-23
Merge branch 'jh/checkout-auto-tracking' into maint
Junio C Hamano
1
-2
/
+1
2013-09-20
Merge branch 'bk/refs-multi-update'
Junio C Hamano
1
-1
/
+1
2013-09-20
Merge branch 'jh/checkout-auto-tracking'
Junio C Hamano
1
-2
/
+1
2013-09-09
branch.c: Relax unnecessary requirement on upstream's remote ref name
Per Cederqvist
1
-2
/
+1
2013-08-30
branch: trivial style fix
Felipe Contreras
1
-1
/
+1
2013-08-30
refs: report ref type from lock_any_ref_for_update
Brad King
1
-1
/
+1
2013-05-29
Merge branch 'jh/checkout-auto-tracking'
Junio C Hamano
1
-1
/
+16
2013-04-21
branch.c: Validate tracking branches with refspecs instead of refs/remotes/*
Johan Herland
1
-1
/
+16
2013-04-15
i18n: branch: mark strings for translation
Jiang Xin
1
-27
/
+27
2013-04-02
branch: give advice when tracking start-point is missing
Jeff King
1
-2
/
+17
2013-04-02
branch: mention start_name in set-upstream error messages
Jeff King
1
-5
/
+5
2013-04-02
branch: improve error message for missing --set-upstream-to ref
Jeff King
1
-1
/
+6
2013-04-02
branch: factor out "upstream is not a branch" error messages
Jeff King
1
-2
/
+5
2012-06-07
Remove i18n legos in notifying new branch tracking setup
Nguyễn Thái Ngọc Duy
1
-15
/
+23
2012-03-26
checkout: suppress tracking message with "-q"
Jeff King
1
-4
/
+5
2011-12-19
Merge branch 'nd/resolve-ref'
Junio C Hamano
1
-1
/
+1
2011-12-19
Merge branch 'jn/maint-sequencer-fixes'
Junio C Hamano
1
-2
/
+0
2011-12-13
Merge branch 'jn/branch-move-to-self'
Junio C Hamano
1
-2
/
+4
2011-12-13
Rename resolve_ref() to resolve_ref_unsafe()
Nguyễn Thái Ngọc Duy
1
-1
/
+1
2011-12-12
Revert "reset: Make reset remove the sequencer state"
Jonathan Nieder
1
-2
/
+0
2011-12-09
Merge branch 'jc/request-pull-show-head-4'
Junio C Hamano
1
-0
/
+31
2011-11-28
Allow checkout -B <current-branch> to update the current branch
Jonathan Nieder
1
-2
/
+4
2011-11-22
revert: write REVERT_HEAD pseudoref during conflicted revert
Jonathan Nieder
1
-0
/
+1
2011-10-05
branch: add read_branch_desc() helper function
Junio C Hamano
1
-0
/
+31
2011-10-05
Merge branch 'rr/revert-cherry-pick-continue'
Junio C Hamano
1
-0
/
+2
2011-09-16
Merge branch 'ci/forbid-unwanted-current-branch-update'
Junio C Hamano
1
-9
/
+12
2011-09-16
branch --set-upstream: regression fix
Junio C Hamano
1
-9
/
+12
2011-08-28
Merge branch 'ci/forbid-unwanted-current-branch-update'
Junio C Hamano
1
-10
/
+24
2011-08-22
Show interpreted branch name in error messages
Conrad Irwin
1
-1
/
+1
2011-08-22
Prevent force-updating of the current branch
Conrad Irwin
1
-10
/
+24
2011-08-19
branch.c: use the parsed branch name
Michael J Gruber
1
-1
/
+1
2011-08-08
reset: Make reset remove the sequencer state
Ramkumar Ramachandra
1
-0
/
+2
2011-03-15
Merge branch 'jh/maint-do-not-track-non-branches'
Junio C Hamano
1
-3
/
+8
2011-02-21
Introduce CHERRY_PICK_HEAD
Jay Soffian
1
-0
/
+1
2011-02-16
branch/checkout --track: Ensure that upstream branch is indeed a branch
Johan Herland
1
-3
/
+8
2010-08-09
builtin/checkout: handle -B from detached HEAD correctly
Tay Ray Chuan
1
-1
/
+1
2010-04-09
Merge branch 'rc/maint-reflog-msg-for-forced-branch'
Junio C Hamano
1
-1
/
+1
2010-01-18
branch: warn and refuse to set a branch as a tracking branch of itself.
Matthieu Moy
1
-2
/
+12
2010-01-18
Add branch --set-upstream
Ilari Liusvaara
1
-10
/
+21
2009-06-27
Convert existing die(..., strerror(errno)) to die_errno()
Thomas Rast
1
-2
/
+2
2009-03-22
strbuf_check_branch_ref(): a helper to check a refname for a branch
Junio C Hamano
1
-4
/
+1
2009-03-22
strbuf_branchname(): a wrapper for branch name shorthands
Junio C Hamano
1
-6
/
+1
2009-03-22
Rename interpret/substitute nth_last_branch functions
Junio C Hamano
1
-1
/
+1
2009-03-10
Improve "git branch --tracking" output
Junio C Hamano
1
-6
/
+17
2009-03-03
Make git-clone respect branch.autosetuprebase
Junio C Hamano
1
-16
/
+33
2009-02-13
Teach the "@{-1} syntax to "git branch"
Junio C Hamano
1
-5
/
+14
2008-10-21
Merge branch 'jc/maint-co-track'
Junio C Hamano
1
-1
/
+3
2008-10-17
Fix "checkout --track -b newbranch" on detached HEAD
Junio C Hamano
1
-1
/
+3
2008-10-03
builtin-commit: use reduce_heads() only when appropriate
Miklos Vajna
1
-0
/
+1
2008-07-13
Move MERGE_RR from .git/rr-cache/ into .git/
Johannes Schindelin
1
-1
/
+1
2008-05-11
Allow tracking branches to set up rebase by default.
Dustin Sallings
1
-1
/
+21
2008-02-19
branch: optionally setup branch.*.merge from upstream local branches
Jay Soffian
1
-20
/
+24
2008-02-09
Move code to clean up after a branch change to branch.c
Daniel Barkalow
1
-0
/
+8
2008-02-09
Move create_branch into a library file
Daniel Barkalow
1
-0
/
+140