<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-gui.sh, branch gitgui-0.8.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=gitgui-0.8.0</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=gitgui-0.8.0'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2007-07-30T03:44:52Z</updated>
<entry>
<title>git-gui: Use more modern looking icons in the tree browser</title>
<updated>2007-07-30T03:44:52Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-30T01:19:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=dac70892638d08f50c49c539155c4cb54a9b9c28'/>
<id>urn:sha1:dac70892638d08f50c49c539155c4cb54a9b9c28</id>
<content type='text'>
This is a replacement of all of the icons in our tree browser
window, as the prior icons just looked too 1980s Tk-ish.  The
icons used here are actually from a KDE themed look, so they
might actually be familiar to some users of git-gui.

Aside from using more modern looking icons we now have a special
icon for executable blobs, to make them stand out from the normal
non-executable blobs.  We also denote symlinks now with a different
icon, so they stand out from the other types of objects in the tree.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Don't offer to stage hunks from untracked files</title>
<updated>2007-07-30T03:44:51Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-30T00:29:52Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=37e2199c4c5b45e060f973097d814726cabe2a86'/>
<id>urn:sha1:37e2199c4c5b45e060f973097d814726cabe2a86</id>
<content type='text'>
If the user looks at an untracked file in our diff pane we used
to offer "Stage Hunk For Commit" in the context menu when they
right-clicked in that pane.  The problem is we don't actually
have any diff hunks in untracked files, so there is nothing to
really select for staging.  So we now grey out the menu item,
so the user cannot invoke it and think its broken when it does
not perform any useful action.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Honor core.excludesfile when listing extra files</title>
<updated>2007-07-29T07:22:27Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-29T07:22:27Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=94a4dd9bfda79a226f8dd57fd20c39c6603ec194'/>
<id>urn:sha1:94a4dd9bfda79a226f8dd57fd20c39c6603ec194</id>
<content type='text'>
Recent git versions have a git-status that honors the core.excludesfile
configuration option when it reports on untracked files.  Unfortunately
I missed the introduction of this configuration option in the core
porcelain implementation, so it was not reflected here in git-gui.

Found and reported by Lars Noschinski &lt;lars@public.noschinski.de&gt;.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Unify wording to say "to stage" instead of "to add"</title>
<updated>2007-07-29T07:09:07Z</updated>
<author>
<name>Christian Stimming</name>
<email>stimming@tuhh.de</email>
</author>
<published>2007-07-28T20:17:10Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=360cc106e76ea2a4ba424905c4924e9ed6a4165d'/>
<id>urn:sha1:360cc106e76ea2a4ba424905c4924e9ed6a4165d</id>
<content type='text'>
Also, the warning message when clicking "Reset" is adapted to
the wording "Reset" rather than a confusion "Cancel commit?".

Signed-off-by: Christian Stimming &lt;stimming@tuhh.de&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Don't kill modified commit message buffer with merge templates</title>
<updated>2007-07-27T06:30:15Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-27T06:30:15Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=1e0a92fdf74caa0bf850f73e284818473c8f76e0'/>
<id>urn:sha1:1e0a92fdf74caa0bf850f73e284818473c8f76e0</id>
<content type='text'>
If the user is in the middle of a merge and has already started to
modify their commit message we were losing the user's changes when
they pressed 'Rescan' after resolving issues or making changes in
the working directory.

The problem here was our background timer that saves the commit
message buffer.  It marks the commit message buffer as not being
modified when it writes it out to disk, so during the rescan we
assumed the buffer should be replaced with what we read from the
MERGE_MSG file.  So we now only read these files from .git if we
have a valid backup file.  Since we clear it on commit this will
only have an impact while the user is actively editing the current
commit.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Refactor current branch menu items to make i18n easier</title>
<updated>2007-07-23T05:11:08Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-23T05:11:08Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=a8139888f8d250c6d173ddbe892e98fc49763702'/>
<id>urn:sha1:a8139888f8d250c6d173ddbe892e98fc49763702</id>
<content type='text'>
The i18n team has also identified a rather ugly block of code in
git-gui that is used to make a pair of Repository menu items show
the current branch name.  This code is difficult to convert to use
[mc ...] to lookup the translation, so I'm refactoring it into a
procedure.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Refactor diff popup into a procedure to ease i18n work</title>
<updated>2007-07-23T04:36:39Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-23T04:36:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=83751fc109e951a5cbde9ee39970f6b1d2da07c7'/>
<id>urn:sha1:83751fc109e951a5cbde9ee39970f6b1d2da07c7</id>
<content type='text'>
The folks working on the i18n version of git-gui have had some
trouble trying to convert these English strings into [mc] calls
due to the double evaluation.  Moving this block into a standard
procedure eliminates the double evaluation, making their work
easier.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Clarify meaning of add tracked menu option</title>
<updated>2007-07-23T04:12:30Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-23T04:12:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e7d7b1a34ea3d3e4ee44471acbc97eda9bfffb55'/>
<id>urn:sha1:e7d7b1a34ea3d3e4ee44471acbc97eda9bfffb55</id>
<content type='text'>
Junio recently pointed out on the mailing list that our "Add Existing"
feature is a lot like `git add -u`, which is generally described as
"(Re)Add Tracked Files".  This came up during discussion of how to
translate "Add Existing" into Japanese, as the individual working on
the translation was not quite sure what the option meant and therefore
had some trouble selecting the best translation.

I'm changing the menu option to "Add Tracked Files To Commit" and the
button to "Add Tracked".  This should help new users to better understand
the actions behind those GUI widgets.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Completely remove my Tools/Migrate hack</title>
<updated>2007-07-22T07:08:34Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-21T20:32:42Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=854ffd3046ba9776934ffea79c5aceb1d51cf3c5'/>
<id>urn:sha1:854ffd3046ba9776934ffea79c5aceb1d51cf3c5</id>
<content type='text'>
This menu option of Tools/Migrate has been living inside of git-gui
as a local hack to support some coworkers of mine.  It has no value
to anyone outside of my day-job team and never really should have
been in a release version of git-gui.  So I'm pulling it out, so
that nobody else has to deal with this garbage.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Automatically backup the user's commit buffer</title>
<updated>2007-07-21T08:57:57Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-21T08:57:57Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4578c5cb690df98d0d5fbea043114b4b7dec8f57'/>
<id>urn:sha1:4578c5cb690df98d0d5fbea043114b4b7dec8f57</id>
<content type='text'>
A few users have been seeing crashes in Tk when using the undo key
binding to undo the last few keystroke events in the commit buffer.
Unfortunately that means the user loses their commit message and
must start over from scratch when the user restarts the process.

git-gui now saves the user's commit message buffer every couple of
seconds to a temporary file under .git (specifically .git/GITGUI_BCK).
At exit time we rename this file to .git/GITGUI_MSG if there is a
message, the file exists, and it is currently synchronized with the
Tk buffer.  Otherwise we do our usual routine of saving the Tk buffer
to .git/GITGUI_MSG and delete .git/GITGUI_BCK, if it exists.

During startup we favor .git/GITGUI_BCK over .git/GITGUI_MSG.  This
way a crash doesn't take out the user's message buffer but instead
will cause the user to lose only a few keystrokes.  Most people do
not type more than 200 WPM, and with 30 possible saves per minute
we are unlikely to lose more than 7 words.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
</feed>
