Sebastian Staudt
21d1f3989f
Added a dialog for failing commit hooks
...
This enables the user to force a commit (i.e. --no-verify) when either pre-commit or
commit-msg hook fails.
2010-09-13 20:25:42 +02:00
Sebastian Staudt
ed833164d9
Also display output of commit-msg hook
2010-09-13 09:16:49 +02:00
Joshua Bleecher Snyder
8637a21c3b
Display output of pre-commit hook
2010-09-13 09:16:49 +02:00
Eric Allen
c077f234ea
Allow zero lines of context
...
Hunk/line patches don't generally have context
Before this, every attempt to stage a hunk or line was met with
"patch failed" using git 1.6.6
2010-08-22 11:57:40 -06:00
Mikhail Emelchenkov
d968f8f0c7
Fix a freeze when staging/unstaging thousands of files
2010-08-22 07:51:15 -06:00
Nicholas Riley
7f17378a86
Don't remove a file from "Unstaged Changes" when attempting to discard changes if it is a new file; it'll just reappear when you refresh.
2010-08-22 07:51:10 -06:00
Seth Raphael
2ad624f7a8
Follow Commit-msg hook rules: allow it to edit the commit message, before committing.
2010-06-27 06:33:12 -06:00
Andy Fowler
9c7aaf0760
Fix typo in successful commit message
2010-03-13 22:15:46 -07:00
Pieter de Bie
a3f02b2902
GitIndex: fix status update when changed file is deleted
...
Fixes bug LH#209
2009-10-01 21:59:08 +02:00
Pieter de Bie
5be8aed2b7
GitIndex: increase refreshStatus before launching task
...
We used to increase this variable after
handing it over to the [handle readToEndOfFileInBackgroundAndNotify],
but sometimes a task would quit before getting to that point, causing
a premature index refresh event to be called.
2009-10-01 21:17:32 +02:00
Pieter de Bie
a2b3bf3d1e
PBGitIndex: post notifications when index stuff fails
...
We use notifications so that we can make all these methods async later on
2009-09-13 16:55:40 +02:00
Pieter de Bie
3dc312ff2e
PBGitIndex: Migrate discardChanges to the GitIndex
2009-09-13 16:55:40 +02:00
Pieter de Bie
59d4a159a4
GitIndex: Fix a few comments
2009-09-13 16:55:40 +02:00
Pieter de Bie
029b42c540
GitIndex: explicitly tell when stuff is updated
2009-09-13 16:55:40 +02:00
Pieter de Bie
249233114d
Show previous commit message when amending
2009-09-13 16:55:40 +02:00
Pieter de Bie
5323b91596
Add failed commit notifications
2009-09-13 16:55:39 +02:00
Pieter de Bie
4192d6a03f
GitIndex: add commit notifications
2009-09-13 16:55:39 +02:00
Pieter de Bie
ff263c6717
GitIndex: Add a few notifications
2009-09-13 16:55:39 +02:00
Pieter de Bie
57dc38f587
GitIndex: Add support for applying patches
2009-09-13 16:55:39 +02:00
Pieter de Bie
8df614cb53
GitIndex: add basic commit method
2009-09-13 16:55:38 +02:00
Pieter de Bie
35a4dc37e2
GitIndex: Add methods to stage and unstage files
...
These are mostly copies from PBGitIndexController, and
they can be refactored to a common method. I'm not sure of a name
for that yet, so I'll keep it like this for now :)
2009-09-13 16:55:38 +02:00
Pieter de Bie
07417acd51
GitIndex: add support for retrieving diffs
2009-09-13 16:55:38 +02:00
Pieter de Bie
6531cfce3b
Add a new class, PBGitIndex, which integrates functionality from both indexcontrollers
2009-09-13 16:55:38 +02:00