Commit Graph

13 Commits

Author SHA1 Message Date
Junio C Hamano
daec67978c Merge branch 'bg/apply-fix-blank-at-eof' into next
* bg/apply-fix-blank-at-eof:
  t3417: Add test cases for "rebase --whitespace=fix"
  t4124: Add additional tests of --whitespace=fix
  apply: Allow blank context lines to match beyond EOF
  apply: Remove the quick rejection test
  apply: Don't unnecessarily update line lengths in the preimage
2010-03-07 12:50:12 -08:00
Junio C Hamano
5589b26544 Merge branch 'cc/cherry-pick-ff' into next
* cc/cherry-pick-ff:
  rebase -i: use new --ff cherry-pick option
  cherry-pick: add a no-op --no-ff option to future proof scripts
  Documentation: describe new cherry-pick --ff option
  cherry-pick: add tests for new --ff option
  revert: add --ff option to allow fast forward when cherry-picking
  builtin/merge: make checkout_fast_forward() non static
  parse-options: add parse_options_concat() to concat options
2010-03-07 12:50:12 -08:00
Junio C Hamano
9d1eff66d2 Merge branch 'bw/union-merge-refactor' (early part) into next
* 'bw/union-merge-refactor' (early part):
  refactor merge flags into xmparam_t
  make union merge an xdl merge favor
2010-03-07 12:50:11 -08:00
Junio C Hamano
898d6dd1db Merge branch 'tc/transport-verbosity' into next
* tc/transport-verbosity:
  transport: update flags to be in running order
  fetch and pull: learn --progress
  push: learn --progress
  transport->progress: use flag authoritatively
  clone: support multiple levels of verbosity
  push: support multiple levels of verbosity
  fetch: refactor verbosity option handling into transport.[ch]
  Documentation/git-push: put --quiet before --verbose
  Documentation/git-pull: put verbosity options before merge/fetch ones
  Documentation/git-clone: mention progress in -v

Conflicts:
	transport.h
2010-03-07 12:50:10 -08:00
Junio C Hamano
ef7a18da5a Merge branch 'sd/format-patch-to' into next
* sd/format-patch-to:
  Add 'git format-patch --to=' option and 'format.to' configuration variable.
2010-03-07 12:50:10 -08:00
Junio C Hamano
5237d8e67d Merge branch 'cc/reset-keep' into next
* cc/reset-keep:
  reset: disallow using --keep when there are unmerged entries
  reset: disallow "reset --keep" outside a work tree
  Documentation: reset: describe new "--keep" option
  reset: add test cases for "--keep" option
  reset: add option "--keep" to "git reset"
2010-03-07 12:50:09 -08:00
Junio C Hamano
a04a402c36 Merge branch 'master' into next
* master:
  stash: suggest the correct command line for unknown options.
  t7406: Fix submodule init config tests
  git-svn: make git svn --version work again
  Revert "git-svn: always initialize with core.autocrlf=false"
  git-svn: support fetch with autocrlf on
  hash-object: support --stdin-paths with --no-filters
2010-03-07 00:02:24 -08:00
Junio C Hamano
ffe3c5eeb2 Merge branch 'sh/am-keep-cr' into next
* sh/am-keep-cr:
  git-am: Add tests for `--keep-cr`, `--no-keep-cr` and `am.keepcr`
  git-am: Add am.keepcr and --no-keep-cr to override it
  git-am: Add command line parameter `--keep-cr` passing it to git-mailsplit
  documentation: 'git-mailsplit --keep-cr' is not hidden anymore
2010-03-02 13:21:48 -08:00
Junio C Hamano
4015ae4b82 Merge branch 'as/maint-expire' into next
* as/maint-expire:
  reflog: honor gc.reflogexpire=never
  prune: honor --expire=never
2010-03-02 13:21:48 -08:00
Junio C Hamano
241d054d84 Merge branch 'sd/init-template' into next
* sd/init-template:
  t/t0001-init.sh: add test for 'init with init.templatedir set'
  init: having keywords without value is not a global error.
  Add a "TEMPLATE DIRECTORY" section to git-init[1].
  Add `init.templatedir` configuration variable.
2010-03-02 13:21:48 -08:00
Junio C Hamano
d15bb1e80b Merge branch 'ld/push-porcelain' into next
* ld/push-porcelain:
  git-push: add tests for git push --porcelain
  git-push: make git push --porcelain print "Done"
  git-push: send "To <remoteurl>" messages to the standard output in --porcelain mode
  git-push: fix an advice message so it goes to stderr

Conflicts:
	transport.c
2010-03-02 13:21:47 -08:00
Junio C Hamano
320aa74d1d Merge branch 'lt/deepen-builtin-source' into next
* lt/deepen-builtin-source:
  Move 'builtin-*' into a 'builtin/' subdirectory

Conflicts:
	Makefile
2010-02-25 23:24:11 -08:00
Linus Torvalds
81b50f3ce4 Move 'builtin-*' into a 'builtin/' subdirectory
This shrinks the top-level directory a bit, and makes it much more
pleasant to use auto-completion on the thing. Instead of

	[torvalds@nehalem git]$ em buil<tab>
	Display all 180 possibilities? (y or n)
	[torvalds@nehalem git]$ em builtin-sh
	builtin-shortlog.c     builtin-show-branch.c  builtin-show-ref.c
	builtin-shortlog.o     builtin-show-branch.o  builtin-show-ref.o
	[torvalds@nehalem git]$ em builtin-shor<tab>
	builtin-shortlog.c  builtin-shortlog.o
	[torvalds@nehalem git]$ em builtin-shortlog.c

you get

	[torvalds@nehalem git]$ em buil<tab>		[type]
	builtin/   builtin.h
	[torvalds@nehalem git]$ em builtin		[auto-completes to]
	[torvalds@nehalem git]$ em builtin/sh<tab>	[type]
	shortlog.c     shortlog.o     show-branch.c  show-branch.o  show-ref.c     show-ref.o
	[torvalds@nehalem git]$ em builtin/sho		[auto-completes to]
	[torvalds@nehalem git]$ em builtin/shor<tab>	[type]
	shortlog.c  shortlog.o
	[torvalds@nehalem git]$ em builtin/shortlog.c

which doesn't seem all that different, but not having that annoying
break in "Display all 180 possibilities?" is quite a relief.

NOTE! If you do this in a clean tree (no object files etc), or using an
editor that has auto-completion rules that ignores '*.o' files, you
won't see that annoying 'Display all 180 possibilities?' message - it
will just show the choices instead.  I think bash has some cut-off
around 100 choices or something.

So the reason I see this is that I'm using an odd editory, and thus
don't have the rules to cut down on auto-completion.  But you can
simulate that by using 'ls' instead, or something similar.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-02-22 14:29:41 -08:00