summaryrefslogtreecommitdiff
path: root/builtin-ls-files.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-17 23:58:16 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-18 16:28:12 -0800
commitf3d985c38090b77e46dcc00d42574b9ba49bdc22 (patch)
tree580e70df696699b2064b5630d157e73074260218 /builtin-ls-files.c
parent8336afa563fbeff35e531396273065161181f04c (diff)
downloadgit-f3d985c38090b77e46dcc00d42574b9ba49bdc22.tar.gz
Teach git-branch to delete tracking branches with -r -d
Because -r already means "remote" when listing, you can say: $ git branch -d -r origin/todo origin/html origin/man I just twisted it not to check fast-forwardness with the current branch when you are removing a tracking branch. Most likely, removal of a tracking branch is not because you are "done with" it (for a local branch, it usually means "you merged it up"), but because you are not even interested in it. In other words, remote tracking branches are more like tags than branches. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-ls-files.c')
0 files changed, 0 insertions, 0 deletions