German Laullon
f9ccf1fe8d
Solved compilation warnings
2011-03-10 16:04:45 -08:00
Tomasz Krasnyk
33e21e2604
Added new icons for file status. When untracked file is
...
added to index than it has added file icon.
2010-11-29 00:10:17 +01:00
Pieter de Bie
703782163d
PBChangedFile: Add assert to make sure we're not doing something stupid
2009-08-28 00:31:42 +02:00
Pieter de Bie
0d8ba8c263
Rename 'CachedChanges" to "StagedChanges" for greater consistency
2009-05-28 17:40:17 +01:00
Pieter de Bie
f9ff15cc6b
PBChangedFile: remove shouldBeDeleted boolean
...
We don't need this anymore
2009-05-28 17:36:40 +01:00
Pieter de Bie
8d729dae4c
CommitView: Don't change selection when refreshing
...
We used to read in a completely new array when refreshing
the index. The problem with this is that the selection
changes when reading in the new array. We avoid this
by changing the current array, rather than loading in
a completely new one.
2008-12-22 21:31:05 +01:00
Pieter de Bie
0975426f2f
CommitView: move index functions to separate controller
...
This merges functionality that was previously stored in the
combination of PBGitCommitController / PBChangedFile to a
dedicated controller, PBGitIndexController.
2008-11-18 23:59:25 +01:00
Pieter de Bie
1d19bd64df
PBChangedFile: Don't use cat to read file contents
...
This changes PBChangedFile to read in files by using
NSString's stringWithContentsOfFile: method.
It still uses the UTF8 encoding scheme so that we
can capture binary files. This should perhaps be loosened to
also allow other encodings.
2008-10-29 00:49:47 +01:00
Pieter de Bie
472d36c7f9
CommitView: Add context menu to revert changes
2008-10-10 21:59:23 +02:00
Pieter de Bie
e659e63fc0
CommitView: Add option to amend commits
2008-10-10 21:59:23 +02:00
Pieter de Bie
5010511bdb
CommitView: Always use a single PBChangedFile object
...
This makes sure we don't add a double object to our array,
if a file has both cached and unstaged changes.
2008-10-10 21:59:23 +02:00
Pieter de Bie
a0f248ef9f
CommitView: Also show deleted files correctly
2008-10-03 18:06:57 +02:00
Pieter de Bie
001b6bf10e
CommitView: Handle new files better
...
This fixes the 'cat' command that was acting up and also shows
information when a file could not be displayed
2008-09-25 23:45:14 +02:00
Pieter de Bie
aafc284eb8
ChangedFile: add a path separator to reset command
...
Sometimes a file could not be reset because it contained weird characters.
This hopefully fixes it.
2008-09-24 17:33:19 +02:00
Pieter de Bie
76e176e8b4
Add staging and unstaging of files
2008-09-24 00:47:41 +02:00
Pieter de Bie
9b3909e759
CommitView: Add a status bar to the diff view
2008-09-23 21:51:20 +02:00
Pieter de Bie
44009b6f3e
CommitView: use only one array for all files
2008-09-23 02:04:12 +02:00
Pieter de Bie
252796ee26
CommitView: Show basic files
2008-09-23 01:02:33 +02:00