<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/lib, branch gitgui-0.9.0</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=gitgui-0.9.0</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=gitgui-0.9.0'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2007-10-23T22:50:19Z</updated>
<entry>
<title>Merge branch 'maint'</title>
<updated>2007-10-23T22:50:19Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-23T22:50:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f4e9996b77415707a20a139463c3e3782e2fa48f'/>
<id>urn:sha1:f4e9996b77415707a20a139463c3e3782e2fa48f</id>
<content type='text'>
* maint:
  git-gui: Make sure we get errors from git-update-index

Conflicts:

	lib/index.tcl
</content>
</entry>
<entry>
<title>git-gui: Make sure we get errors from git-update-index</title>
<updated>2007-10-23T22:49:27Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-23T20:55:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d4e890e5de1ea7107d8d1b4134ab0144bbf27b8c'/>
<id>urn:sha1:d4e890e5de1ea7107d8d1b4134ab0144bbf27b8c</id>
<content type='text'>
I'm seeing a lot of silent failures from git-update-index on
Windows and this is leaving the index.lock file intact, which
means users are later unable to perform additional operations.

When the index is locked behind our back and we are unable to
use it we may need to allow the user to delete the index lock
and try again.  However our UI state is probably not currect
as we have assumed that some changes were applied but none of
them actually did.  A rescan is the easiest (in code anyway)
solution to correct our UI to show what the index really has
(or doesn't have).

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2007-10-21T00:43:36Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-21T00:43:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c9dcc7f865fb7891f4f6d068230663eb2cb586a7'/>
<id>urn:sha1:c9dcc7f865fb7891f4f6d068230663eb2cb586a7</id>
<content type='text'>
* maint:
  git-gui: Don't display CR within console windows
  git-gui: Handle progress bars from newer gits
  git-gui: Correctly report failures from git-write-tree

Conflicts:

	lib/commit.tcl
	lib/console.tcl
</content>
</entry>
<entry>
<title>git-gui: Don't display CR within console windows</title>
<updated>2007-10-21T00:42:01Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-21T00:42:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=bbbadf6e58f72ac6bf739d2a1109cbd872eb1083'/>
<id>urn:sha1:bbbadf6e58f72ac6bf739d2a1109cbd872eb1083</id>
<content type='text'>
Git progress bars from tools like git-push and git-fetch use CR
to skip back to the start of the current line and redraw it with
an updated progress.  We were doing this in our Tk widget but had
failed to skip the CR, which Tk doesn't draw well.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Handle progress bars from newer gits</title>
<updated>2007-10-21T00:36:27Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-20T18:16:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=bea6878be2fb73e50407f93f2bcd71b961510c19'/>
<id>urn:sha1:bea6878be2fb73e50407f93f2bcd71b961510c19</id>
<content type='text'>
Post Git 1.5.3 a new style progress bar has been introduced that
uses only one line rather than two.  The formatting of the completed
and total section is also slightly different so we must adjust our
regexp to match.  Unfortunately both styles are in active use by
different versions of Git so we need to look for both.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Correctly report failures from git-write-tree</title>
<updated>2007-10-20T05:42:01Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-20T05:42:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8af52d7a83a78c5f3a60d5bd5099a5073655339a'/>
<id>urn:sha1:8af52d7a83a78c5f3a60d5bd5099a5073655339a</id>
<content type='text'>
If git-write-tree fails (such as if the index file is currently
locked and it wants to write to it) we were not getting the error
message as $tree_id was always the empty string so we shortcut
through the catch and never got the output from stderr.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Collapse $env(HOME) to ~/ in recent repositories on Windows</title>
<updated>2007-10-13T03:07:59Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-12T20:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=82dd4e0465282e39962ba8fdb01c42aa665b1999'/>
<id>urn:sha1:82dd4e0465282e39962ba8fdb01c42aa665b1999</id>
<content type='text'>
Apparently native Tcl/Tk on Windows is using \ as the return value
from [file separator] but [file normalize] on that same system is
using / rather than \ to represent a directory separator.  I really
think that is nuts, but its what is happening.

So we can actually just hardcode our separator to / as all systems
we support (Windows, Mac OS X, UNIX) use /.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Support cloning Cygwin based work-dirs</title>
<updated>2007-10-13T03:07:58Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-12T20:24:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ba6c761e6287f9987d70ed4d2a609a7ed415a6a5'/>
<id>urn:sha1:ba6c761e6287f9987d70ed4d2a609a7ed415a6a5</id>
<content type='text'>
If the user tries to clone a Git repository that is actually a
workdir of another repository (by way of contrib git-new-workdir)
then the contents of .git is a series of Windows .lnk files which
Tcl can't read if this is a native Tcl process.  To read the real
objects directory we need to resolve the link to that location.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Use proper Windows shortcuts instead of bat files</title>
<updated>2007-10-13T03:07:58Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-12T20:11:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=51a41ac4efd8bcbcf2aa6e738c42ae4d46d10947'/>
<id>urn:sha1:51a41ac4efd8bcbcf2aa6e738c42ae4d46d10947</id>
<content type='text'>
On Windows its better to use a shortcut (.lnk file) over a batch
script (.bat) as we can specify the icon file for the .lnk and
thus have these git specific objects appear on the desktop with
that git specific icon file.

Unfortunately the authors of Tcl did not bless us with the APIs
needed to create shortcuts from within Tcl.  But Microsoft did
give us Windows Scripting Host which allows us to execute some
JavaScript that calls some sort of COM object that can operate
on a .lnk file.

We now build both Cygwin and non-Cygwin "desktop icons" as proper
Windows .lnk files, using the "Start in" property of these files
to indicate the working directory of the repository the user wants
to launch.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Bind n/c/o accelerators in repository chooser</title>
<updated>2007-10-13T03:05:59Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-12T15:13:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=914c4d4dcd96218d33f5fefc9c175ea785972f06'/>
<id>urn:sha1:914c4d4dcd96218d33f5fefc9c175ea785972f06</id>
<content type='text'>
On Windows we need to actually setup binds for the accelerator
keys, otherwise the OS doesn't respond to them when the user
presses the key combinations.  Apparently we automatically get
these on Mac OS X when we configure the menu commands, but not
on Windows.

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