[PATCH 0/9] Add --stage and --work options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Some commands (git diff) already have the --staged alias, this patch series
document them, and do the same for the rest.

Also, add a --work (and --no-work) option, so that in addition to --stage, we
can replace --cached in 'git apply'.

The old options remain unchanged.

Felipe Contreras (9):
  diff: document --staged
  grep: add --staged option
  rm: add --staged option
  stash: add --stage option to save
  stash: add --stage to pop and apply
  submodule: add --staged options
  apply: add --stage option
  apply: add --work, --no-work options
  completion: update --staged options

 Documentation/git-apply.txt            | 11 +++++++++--
 Documentation/git-diff.txt             |  4 ++--
 Documentation/git-grep.txt             |  5 ++++-
 Documentation/git-rm.txt               |  5 ++++-
 Documentation/git-stash.txt            | 14 +++++++-------
 Documentation/git-submodule.txt        |  8 ++++++--
 builtin/apply.c                        |  7 +++++++
 builtin/grep.c                         |  2 ++
 builtin/rm.c                           |  1 +
 contrib/completion/git-completion.bash | 10 +++++-----
 git-stash.sh                           | 12 +++++++++---
 git-submodule.sh                       | 10 +++++-----
 12 files changed, 61 insertions(+), 28 deletions(-)

-- 
1.8.4-fc

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]