Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 2, 2015
  1. @blueyed

    Expand `%` instead of `<amatch>` in the Buf* autocommands

    blueyed authored committed
    This is relevant in case a previous BufReadPost autocmd changes the file
    name using `:file` - fugitive should use the new/current name then.
  2. @blueyed

    ReplaceCmd: redirect stderr to tmp file / buffer

    blueyed authored committed
    The option `status.showUntrackedFiles=all` used with `git status` for
    `:Gstatus` might cause an error, which then causes fugitive to display an
    empty status window / index file.
    Redirecting the stderr output is useful in this case.
    The generated command was:
        git --git-dir=/home/user/.dotfiles/.git -c 'status.displayCommentPrefix=true' -c 'color.status=false' -c 'status.short=false' -c 'status.showUntrackedFiles=all' status
    The error from git is related to submodules being moved to another
    subdirectory, where the relative "gitdir" now does not exist anymore:
        fatal: Not a git repository: vim/bundle.old.nobackup/CLEAN/colorscheme-base16/../../../.git/modules/vim/bundle/colorscheme-base16
    While that's a Git / user error after all, fugitive should be more
    helpful in that case by displaying the error.
    It uses the 'shellpipe' setting to detect if '2>&1' is supported (Ref:
    #661 (comment)).
    Closes #661.
  3. @blueyed

    Add "stash" and stash refs in repo.superglob

    blueyed authored committed
    This looks for `refs/stash` and calls `git stash list` to get all of
    them in case it exists.
Commits on Sep 30, 2015
Commits on Sep 10, 2015
  1. @elentok

    Allow using the "%" variable in git commands

    elentok authored committed
    Closes #686
    For example, when running:
      :Git add %
    neovim throws the following exception:
      E499: Empty file name for '%' or '#',
      only works with ":p:h": terminal git add %
    It is a result of the tabnew command, it creates a new blank tab where
    "%" is empty.
    This commit changes "tabnew" to "tabedit %" so you're still working on
    the same file.
    Once the command is done running the tab closes.
Commits on Aug 2, 2015
  1. @patrickdavey
Commits on Jul 20, 2015
  1. Support for Ggrep when only %f is available

    Pieter-Jan Van de Maele authored committed
Commits on Jul 1, 2015
  1. Support Vim without 'wildignorecase'

    Closes #659.
Commits on Jun 30, 2015
Commits on Jun 29, 2015
  1. Open :Gcommit tab before current

    Pretty ridiculous, but this seems to be the only way to return to the
    right tab after closing the commit message.
Commits on Jun 15, 2015
  1. Add support for flagship.vim

Commits on May 31, 2015
  1. @blueyed

    (Re)store the current window in `s:diffoff_all`

    blueyed authored committed
    This is required to make Vim execute the "Enter" autocommands when
    closing the fugitive window.
    Fixes: #421
Commits on May 22, 2015
  1. @elyscape

    Show all untracked files in :Gstatus window

    elyscape authored committed
    Previously, if there were untracked files inside an untracked folder,
    :Gstatus would only show the new folder. Attempting to run a diff on the
    folder would pass the directory name, which would result in Vim opening
    a directory listing. This makes :Gstatus list all untracked files, even
    if they're inside untracked folders. This requires Git >=1.4, and will
    silently fall back to the old behavior on earlier versions.
    Closes #605.
Commits on May 19, 2015
  1. Don't close window after :Gremove

    This is nothing more than a change in personal preference on my part.
    It's particularly annoying when :Gstatus or the quickfix window is the
    only other window open.
  2. Support older Git in :Gpull

    Closes #645.
Commits on May 16, 2015
  1. @ovu

    Make Ggrep to work properly on Mac

    ovu authored committed
    - Color were causing to appear strange characters in the result.
    - These characters made impossible to navigate the results
    - The solution was to disable colors while executing git grep
Commits on Mar 31, 2015
  1. @Tranquility

    Use the neovim terminal emulator for :Git

    Tranquility authored committed
Commits on Mar 29, 2015
Commits on Feb 20, 2015
  1. @gusevfe

    Provide g:fugitive_no_maps to disable key maps

    gusevfe authored committed
    Add variable g:fugitive_no_maps. If set y<C-G> and <C-R><C-G> are not
    Resolves tpope/vim-fugitive#394
  2. @elyscape

    Support browsing with new netrw.vim

    elyscape authored committed
    The previous fix for #594 didn't handle the case in which the net netrw
    was installed on older versions of Vim.
Commits on Feb 9, 2015
  1. Support for browsing with recent Vim

    Closes #594.
Commits on Jan 26, 2015
  1. @blueyed

    s:Diff: use winnr with `<C-W>w` instead of `<C-W>p`

    blueyed authored committed
    This is more reliable and fixes an issue where the syntastic location
    list of the original file would be focused after `:Gdiff`.
    Ref: blueyed@c99f0ff#commitcomment-9434351
Commits on Jan 20, 2015
  1. fugitive.vim 2.2

    * Provide :Gpush, :Gfetch, :Gmerge, and Gpull.
    * Use -L to handle :Glog range.
    * :Gcommit -v opens message in new tab.
    * API for custom :Gbrowse handlers.
    * Invoke :Browse if available to open URL.
    * Colorize hashes in :Gblame buffer.
    * Set cursorbind and nobuflisted in :Gblame buffers.
    * :Gblame in blame buffer toggles buffer.
Commits on Nov 21, 2014
  1. @blueyed

    Use `<nomodeline>` with Fugitive autocmds, and un-silent them

    blueyed authored committed
    Closes #580.
Commits on Nov 6, 2014
  1. @jwhitley

    Make configured_tree a caching global function

    jwhitley authored committed
    This implements the changes suggested in tpope/fugitive#415.
    s:repo_configured_tree is now a global, s:configured_tree() that caches
    the bidirectional relation between the worktree and the git_dir.
    extract_git_dir() now uses that relation to check whether the
    directories it scans are valid worktrees known by the repo at $GIT_DIR.
  2. Fix instaweb support

    Closes #571.
Commits on Sep 2, 2014
  1. Fix :Glog

    Closes #545.
Commits on Jul 27, 2014
Commits on Jul 23, 2014
  1. Set nobuflisted in blame buffers

  2. @tommcdo

    Ensure clipboard support before using * register

    tommcdo authored committed
    Closes #526.
  3. Change arity of browse API

    It's debatable whether the repo object should be passed at all, so let's
    not commit to a positional parameter for it.
    References #445.
Commits on Jul 22, 2014
  1. Browse handler API

    Taking experimental out of the name, but small tweaks may occur before
    then next release.
    For future compatibility, any third party handlers should bail and
    return an empty string if any of the following are true:
    * More than 2 arguments are given.
    * The second argument isn't a dictionary.
    * The dictionary doesn't contain a "remote" key.
    Closes #445.
Commits on Jul 18, 2014
  1. Fix load order issue

  2. Experimentally expose browse API

    References #445.
Something went wrong with that request. Please try again.