<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-gui.sh, branch gitgui-0.6.5</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitgui-0.6.5</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitgui-0.6.5'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2007-03-12T17:26:06Z</updated>
<entry>
<title>git-gui: Allow 'git gui version' outside of a repository</title>
<updated>2007-03-12T17:26:06Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-03-12T17:24:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=756d846fea4ac4b3bf0a0aea9fbf721138cf34cc'/>
<id>urn:sha1:756d846fea4ac4b3bf0a0aea9fbf721138cf34cc</id>
<content type='text'>
I got a little surprise one day when I tried to run 'git gui version'
outside of a Git repository to determine what version of git-gui was
installed on that system.  Turns out we were doing the repository
check long before we got around to command line argument handling.

We now look to see if the only argument we have been given is
'version' or '--version', and if so, print out the version and
exit immediately; long before we consider looking at the Git
version or working directory.  This way users can still get to
the git-gui version number even if Git's version cannot be read.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Revert "git-gui: Display all authors of git-gui."</title>
<updated>2007-03-12T17:26:04Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-03-12T17:26:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=bb616ddd159508e6c6469626d494a69e28da7032'/>
<id>urn:sha1:bb616ddd159508e6c6469626d494a69e28da7032</id>
<content type='text'>
This reverts commit 871f4c97ad7e021d1a0a98c80c5da77fcf70e4af.

Too many users have complained about the credits generator in
git-gui, so I'm backing the entire thing out.  This revert will
finish that series.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Allow committing empty merges</title>
<updated>2007-03-12T17:03:47Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-03-12T17:03:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c7bafad10d294cc0b26ab6171efd89dd9b132f70'/>
<id>urn:sha1:c7bafad10d294cc0b26ab6171efd89dd9b132f70</id>
<content type='text'>
Johannes Sixt noticed that git-gui would not let the user commit
a merge created by `git merge -s ours` as the ours strategy does
not alter the tree (that is HEAD^1^{tree} = HEAD^{tree} after the
merge).  The same issue arises from amending such a merge commit.

We now permit an empty commit (no changed files) if we are doing
a merge commit.  Core Git does this with its command line based
git-commit tool, so it makes sense for the GUI to do the same.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Remove unnecessary /dev/null redirection.</title>
<updated>2007-03-01T19:37:34Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-03-01T19:37:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c3e8a0a4ddb7d32970c49117e0386a3b1c182413'/>
<id>urn:sha1:c3e8a0a4ddb7d32970c49117e0386a3b1c182413</id>
<content type='text'>
Git 1.5.0 and later no longer output useless messages to standard
error when making the initial (or what looks to be) commit of a
repository.  Since /dev/null does not exist on Windows in the
MinGW environment we can't redirect there anyway.  Since Git
does not output anymore, I'm removing the redirection.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Don't create empty (same tree as parent) commits.</title>
<updated>2007-02-26T16:47:14Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-02-26T16:47:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=51bd9d7b8cf29e0e441531fb0a671cc7093f278b'/>
<id>urn:sha1:51bd9d7b8cf29e0e441531fb0a671cc7093f278b</id>
<content type='text'>
Mark Levedahl noticed that git-gui will let you create an empty
normal (non-merge) commit if the file state in the index is out
of whack.  The case Mark was looking at was with the new autoCRLF
feature in git enabled and is actually somewhat difficult to create.

I found a different way to create an empty commit:  turn on the
Trust File Modifications flag, touch a file, rescan, then move
the file into the "Changes To Be Committed" list without looking
at the file's diff.  This makes git-gui think there are files
staged for commit, yet the update-index call did nothing other
than refresh the stat information for the affected file.  In
this case git-gui allowed the user to make a commit that did
not actually change anything in the repository.

Creating empty commits is usually a pointless operation; rarely
does it record useful information.  More often than not an empty
commit is actually an indication that the user did not properly
update their index prior to commit.  We should help the user out
by detecting this possible mistake and guiding them through it,
rather than blindly recording it.

After we get the new tree name back from write-tree we compare
it to the parent commit's tree; if they are the same string and
this is a normal (non-merge, non-amend) commit then something
fishy is going on.  The user is making an empty commit, but they
most likely don't want to do that.  We now pop an informational
dialog and start a rescan, aborting the commit.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Add Reset to the Branch menu.</title>
<updated>2007-02-26T16:22:10Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-02-26T16:22:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=fd234dfdb7ee1955922ded27ed18df59259193d9'/>
<id>urn:sha1:fd234dfdb7ee1955922ded27ed18df59259193d9</id>
<content type='text'>
cehteh on #git noticed that there was no way to perform a reset --hard
from within git-gui.  When I pointed out this was Merge-&gt;Abort Merge
cehteh said this is not very understandable, and that most users would
never guess to try that option unless they were actually in a merge.

So Branch-&gt;Reset is now also a way to cause a reset --hard from within
the UI.  Right now the confirmation dialog is the same as the one used
in Merge-&gt;Abort Merge.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Relocate the menu/transport menu code.</title>
<updated>2007-02-26T16:17:11Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-02-26T16:17:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=9b28a8b9c2051bf85f71cdec85c142a0ab561f10'/>
<id>urn:sha1:9b28a8b9c2051bf85f71cdec85c142a0ab561f10</id>
<content type='text'>
This code doesn't belong down in the main window UI creation,
its really part of the menu system and probably should be
located with it.  I'm moving it because I could not find
the code when I was looking for it earlier today, as it was
not where I expected it to be found.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Don't crash in citool mode on initial commit.</title>
<updated>2007-02-21T06:33:59Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-02-21T06:33:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=981193786fc30b9ee73b9f223a75642b4ed455b9'/>
<id>urn:sha1:981193786fc30b9ee73b9f223a75642b4ed455b9</id>
<content type='text'>
Attempting to use `git citool` to create an initial commit caused
git-gui to crash with a Tcl error as it tried to add the newly
born branch to the non-existant branch menu.  Moving this code
to after the normal commit cleanup logic resolves the issue, as
we only have a branch menu if we are not in singlecommit mode.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Include browser in our usage message.</title>
<updated>2007-02-21T06:24:57Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-02-21T06:24:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c0f7a6c33da7ec875fb084c9d97e471cd3a14535'/>
<id>urn:sha1:c0f7a6c33da7ec875fb084c9d97e471cd3a14535</id>
<content type='text'>
Now that the 'browser' subcommand can be used to startup the tree
browser, it should be listed as a possible subcommand option in
our usage message.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Change summary of git-gui.</title>
<updated>2007-02-21T05:11:02Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-02-19T02:08:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=019f42a4ffe66e35cfe32a18c3def0183e6a0129'/>
<id>urn:sha1:019f42a4ffe66e35cfe32a18c3def0183e6a0129</id>
<content type='text'>
Since git-gui does more than create commits, it is unfair to call
it "a commit creation tool".  Instead lets just call it a graphical
user interface.

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