Setting author of a commit



One great feature of Git is its ability to have a committer and an
author. This is really useful for project receiving small contribution
(one line, single diff file...). With this feature, you can commit
this stuff and keep the real author's name.

Since a long time, I'm working on a patch to add this feature to gitg.
I started with a topic branch to refactor the command "layer". But I
never finished my work because I lack time and I wished to polish the
stuff before releasing. But it is too long now, and I decided to
release the current state of my work.

So, gitg now offers the ability to set an author. This is just a
single text entry where we describe author like in email client:
"Author Name <author email>".

The matter is the UI. I'm not really pleased with my hack, but I do
not have other idea (more sexy). Any comment are welcome.

Furthermore, I plan to add the ability to select the author in a list.
This list is filled with already known authors. Why? Because, in the
context of an other project,  I regularly receive mini-patches from a
small subset of contributors not using Git. So, the author is
regularly an already known author. My stuff is working, but I have
difficulties with the UI: I have to learn more on dialog and
GtkBuilder. So this part of my work is not yet released.


Well, if you find this work correct enough, please pull my branch:
http://github.com/guyou/gitg/tree/set-commit-author

-- 
Guilhem BONNEFILLE
-=- JID: guyou im apinc org MSN: guilhem_bonnefille hotmail com
-=- mailto:guilhem bonnefille gmail com
-=- http://nathguil.free.fr/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]