git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Branch renaming not updating the configuration correctly.
@ 2008-07-28 13:36 Jurko Gospodnetić
  2008-07-28 13:49 ` Johannes Schindelin
  0 siblings, 1 reply; 3+ messages in thread
From: Jurko Gospodnetić @ 2008-07-28 13:36 UTC (permalink / raw)
  To: git

   Hi.

   I noticed that the .git/config file is not updated completely in case 
you create two branches aaa and bbb, set the repository up so it 
automatically merges changes from bbb into aaa and then rename the branches:

   Here is an exact list of commands and config file contents 
illustrating the problem:

   > git branch aaa
   > git branch bbb
   > git config --add branch.aaa.remote .
   > git config --add branch.aaa.merge bbb

-- .git/config: --
[branch "aaa"]
	remote = .
	merge = bbb
------------------

   > git branch -m aaa patched
   > git branch -m bbb original

-- .git/config: --
[branch "patched"]
	remote = .
	merge = bbb
------------------

   And as you can see above, the branch.patched.merge configuration 
setting did not get updated and still holds the old branch name 'bbb'.

   Hope this helps.

   Best regards,
     Jurko Gospodnetić

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-28 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 13:36 Branch renaming not updating the configuration correctly Jurko Gospodnetić
2008-07-28 13:49 ` Johannes Schindelin
2008-07-28 14:06   ` Jurko Gospodnetić

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).