Commit Graph

212 Commits

Author SHA1 Message Date
Tim Pope
1e7648cfdd Autodetect need for uppercase statusline flag 2010-02-10 10:07:56 -05:00
Tim Pope
bd0fddbd8b Fire on cwd when no arguments are given to Vim 2010-02-07 21:54:40 -05:00
Tim Pope
e13fd3e1c6 Formally deprecate :Gread! 2010-02-07 21:53:23 -05:00
Tim Pope
a27c0fc633 Add optional statusline indicator 2010-02-02 23:46:04 -05:00
Tim Pope
315eb92abd Remove = separators from documentation 2010-02-02 23:23:07 -05:00
Tim Pope
b3affc834d Add trailing slash to :Gmove completion 2010-01-31 16:04:10 -05:00
Tim Pope
06d6684d08 Compare timestamps as integers 2010-01-30 00:38:00 -05:00
Tim Pope
eb48c6c284 In :Gdiff, newest file is shown on right 2010-01-30 00:31:10 -05:00
Tim Pope
a67e43c294 Warn about git-branch-info.vim stupidity 2010-01-24 23:07:19 -05:00
Tim Pope
d28b1e7cf4 Work around git-branch-info.vim stupidity 2010-01-24 22:59:42 -05:00
Tim Pope
4bbeec5938 Map P and ~ in :Gblame 2010-01-15 13:37:00 -05:00
Tim Pope
14cb4d2ea5 Partial support for csh and cmd.exe
Both csh and cmd.exe are painful to script and may never be completely
supported.  In both cases, you will be better suited by just overriding
the shell:

  set shell=/bin/sh

Use of cmd.exe currently requires you to set shellslash.
2010-01-13 22:05:28 -05:00
Tim Pope
8681f64dbf Standardize technique for temporary cd 2010-01-13 17:50:18 -05:00
Tim Pope
a792da75c4 Be flexible with path delimiter in detection 2010-01-13 17:39:54 -05:00
Tim Pope
2ed42806b6 Remove debugging statement 2010-01-13 17:38:07 -05:00
Tim Pope
dc63e2d890 Press p in :Gstatus to add/reset --patch 2010-01-11 23:29:40 -05:00
Tim Pope
3a25d0aff6 Consistently use - when talking about git commands 2010-01-11 23:29:40 -05:00
Tim Pope
7593d30b46 Unmap jumps that don't work in :Gstatus 2010-01-11 20:20:55 -05:00
Tim Pope
79339bfa81 :Gread is now equivalent to :Gread! 2010-01-11 15:21:43 -05:00
Tim Pope
bfdcdf1fbd :Gwrite in :Gstatus invokes :Gcommit 2010-01-10 00:04:58 -05:00
Tim Pope
ec49a84cb7 Add :Gcommit 2010-01-09 23:43:16 -05:00
Tim Pope
1b960e1e56 Fix jump for "# Your branch ... 'localbranch'" 2010-01-09 23:21:02 -05:00
Tim Pope
6f4266da7c Fix lack of shell escaping 2010-01-09 22:56:52 -05:00
Tim Pope
8b3cd645fd Fix issue with status reloading 2010-01-09 19:17:43 -05:00
Tim Pope
ecb2157d7e Deprecate :Gread with no range or bang
In the future, :Gread will become equivalent to :Gread!, and :.Gread
will be required in order to read into a buffer without replacing it.
2010-01-09 19:12:45 -05:00
Tim Pope
6eaa4604ff Enable readable editing of *index*.lock
Among other things, this means running :Gstatus when $GIT_INDEX_FILE is
set (e.g., when git commit is running) shows a more revealing filename.
2010-01-09 18:23:43 -05:00
Tim Pope
93bd4c8944 Tighten up some equality checks 2010-01-09 18:23:43 -05:00
Tim Pope
969ba4f3bc Add missing "abort" to some status functions 2010-01-09 18:23:43 -05:00
Tim Pope
eea103b042 Update email address 2010-01-09 18:23:43 -05:00
Tim Pope
26edba9dec Fix :0Gread to operate at very top of file 2010-01-09 13:41:51 -05:00
Tim Pope
43e752dcfd Allow overriding :Glog summary format
One can now set fugitive_summary_format to change the message in :Glog.
The default is

  let g:fugitive_summary_format = '%s'

This isn't documented yet because it might be taken away.
2009-12-14 00:01:31 -05:00
Tim Pope
063d1fcaa9 Remove "." from 'path' in "fugitive://" files
Having "." in 'path' causes commands like :find to dump one in
never-never land when invoked from a "fugitive://" file.
2009-12-13 19:49:35 -05:00
Tim Pope
037ce62894 Pass :Glog arguments to git-log 2009-11-14 23:47:17 -05:00
Tim Pope
1ed26db43a Don't show "parent " line in first commit 2009-11-11 21:38:51 -05:00
Tim Pope
9f6af8031c Don't assume buffer().commit() is a hash or stage 2009-11-11 00:16:02 -05:00
Tim Pope
4e77ba13c6 Fix :Glog when run from a file in .git/ 2009-11-10 22:26:08 -05:00
Tim Pope
9761434605 Quiet some "E171: Missing :endif" errors
If you throw an exception inside of a conditional, Vim Script, with its
infinite wisdom, will complain that that it never saw the matching
:endif.  Rearrange to put the exception outside the conditional where
possible.
2009-11-10 21:17:21 -05:00
Tim Pope
cf41683ac1 Expose function to reload status window
autocmd FocusGained * call fugitive#reload_status()
2009-11-03 22:23:58 -05:00
Tim Pope
aa72be3a09 Don't delete unloaded buffers in :Gwrite 2009-10-23 14:02:01 -04:00
Tim Pope
5676b909e9 Accept a count or selection with - in :Gstatus 2009-10-22 22:23:28 -04:00
Tim Pope
42e0208276 Run autocommands after writing to index 2009-10-22 22:23:28 -04:00
Tim Pope
6ebcc05312 Remove hard-coded git executable reference 2009-10-22 22:11:23 -04:00
Tim Pope
39be3515c9 Add :Gstatus with "-" map to stage and unstage 2009-10-19 22:11:40 -04:00
Tim Pope
a4496e0d0b Support :Git with no arguments 2009-10-19 21:56:55 -04:00
Tim Pope
b248cddf91 Prevent bells during :Gwrite 2009-10-19 21:43:12 -04:00
Tim Pope
68c7df4e2a Guard against a count in all maps 2009-10-18 22:43:08 -04:00
Tim Pope
c71408d5c1 Fix tab restoration edge case in :Gwrite 2009-10-18 19:54:30 -04:00
Tim Pope
51569b5ea2 Jump on a rename or "diff --git" line 2009-10-18 18:12:36 -04:00
Tim Pope
db535978f1 Better handling of :/pattern style revisions 2009-10-15 18:47:03 -04:00
Tim Pope
7da464557b Fix :Gdiff HEAD when in a blob 2009-10-15 18:34:01 -04:00