Commit Graph

642 Commits

Author SHA1 Message Date
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
Tim Pope
a6439f6aa0 Fix typo and debugging statement in :Gwrite 2009-10-15 12:52:19 -04:00
Tim Pope
4c1562c15b Activate in netrw directories 2009-10-15 00:02:14 -04:00
Tim Pope
b65030cd3b :Gdiff does a three-way during a conflict 2009-10-14 23:38:24 -04:00
Tim Pope
04b845a4e9 Write to index and work tree with :Gwrite 2009-10-14 23:38:17 -04:00
Tim Pope
f772aba9aa Fix writing to stage when not the current buffer 2009-10-14 22:30:36 -04:00
Tim Pope
a646064433 Trap BufWinLeave which fires with 'hidden' set 2009-10-14 19:51:08 -04:00
Tim Pope
2667cfd9a0 No backtrace on :Ggrep buffer abandonment failure 2009-10-14 18:57:11 -04:00
Tim Pope
7a281a925c Don't blow up on :Gdiff HEAD 2009-10-14 15:53:41 -04:00
Tim Pope
a5e10c932d Fix :Gblame when run from a subdirectory 2009-10-12 22:12:04 -04:00
Tim Pope
61698761e5 Fix a nonstandard fugitive error message 2009-10-12 22:12:04 -04:00
Tim Pope
1eb949be95 Initial commit 2009-10-10 20:36:02 -04:00