Thomas Rast
5eec27e35f
git-svn: let 'dcommit $rev' work on $rev instead of HEAD
...
'git svn dcommit' takes an optional revision argument, but the meaning
of it was rather scary. It completely ignored the current state of
the HEAD, only looking at the revisions between SVN and $rev. If HEAD
was attached to $branch, the branch lost all commits $rev..$branch in
the process.
Considering that 'git svn dcommit HEAD^' has the intuitive meaning
"dcommit all changes on my branch except the last one", we change the
meaning of the revision argument. git-svn temporarily checks out $rev
for its work, meaning that
* if a branch is specified, that branch (_not_ the HEAD) is rebased as
part of the dcommit,
* if some other revision is specified, as in the example, all work
happens on a detached HEAD and no branch is affected.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Eric Wong <normalperson@yhbt.net>
2009-06-25 00:38:16 -07:00
..
2009-03-03 21:43:19 -08:00
2009-06-09 23:46:47 -07:00
2008-02-11 13:23:15 -08:00
2008-06-12 14:28:53 -07:00
2009-03-27 00:33:20 -07:00
2009-03-21 23:24:46 -07:00
2008-12-29 00:40:10 -08:00
2008-01-06 18:41:44 -08:00
2009-02-09 20:59:26 -08:00
2009-06-09 23:46:47 -07:00
2008-12-19 19:10:46 -08:00
2008-12-19 19:10:46 -08:00
2009-03-19 02:47:40 -07:00
2009-04-06 00:27:09 -07:00
2007-07-24 00:47:05 -07:00
2009-03-22 10:33:36 -07:00
2008-07-05 11:24:40 -07:00
2007-08-10 23:16:18 -07:00
2009-05-18 09:00:06 -07:00
2009-05-05 22:09:31 -07:00
2009-03-02 12:34:54 -08:00
2009-05-31 15:39:04 -07:00
2008-07-05 11:24:40 -07:00
2009-04-17 21:05:49 -07:00
2009-03-26 00:26:04 -07:00
2009-03-17 12:08:43 -07:00
2009-05-09 08:32:14 -07:00
2009-03-22 20:59:20 -07:00
2009-05-25 12:08:15 -07:00
2009-03-22 21:02:38 -07:00
2009-05-23 01:39:45 -07:00
2008-07-05 11:24:40 -07:00
2009-04-13 09:08:16 -07:00
2008-11-23 19:32:39 -08:00
2009-01-05 11:43:28 -08:00
2008-07-05 11:24:40 -07:00
2009-05-06 10:51:34 -07:00
2009-05-09 01:28:08 -07:00
2008-09-03 14:51:19 -07:00
2008-12-19 19:35:55 -08:00
2009-05-09 00:19:25 -07:00
2008-08-17 01:01:42 -07:00
2009-06-18 10:19:50 -07:00
2009-04-20 15:56:07 -07:00
2008-08-18 22:05:44 -07:00
2009-04-18 14:43:24 -07:00
2009-01-23 21:51:20 -08:00
2009-01-17 18:01:46 -08:00
2008-07-05 11:24:40 -07:00
2008-12-19 19:37:18 -08:00
2008-11-11 14:55:43 -08:00
2009-05-24 11:21:05 -07:00
2008-12-19 19:35:55 -08:00
2008-07-19 11:25:51 -07:00
2008-07-05 11:24:40 -07:00
2008-08-01 23:21:44 -07:00
2009-04-12 16:01:25 -07:00
2008-08-01 23:21:44 -07:00
2009-04-13 09:36:52 -07:00
2009-04-23 12:53:16 -07:00
2008-07-01 17:20:15 -07:00
2008-12-21 12:04:12 -08:00
2009-02-14 21:14:07 -08:00
2008-07-05 11:24:40 -07:00
2009-03-07 11:34:59 -08:00
2008-11-14 21:38:11 -08:00
2008-08-03 13:38:22 -07:00
2008-08-29 21:46:33 -07:00
2008-07-05 11:24:40 -07:00
2008-07-01 17:20:15 -07:00
2009-04-18 14:45:59 -07:00
2008-07-05 11:24:40 -07:00
2008-07-01 17:20:15 -07:00
2009-04-18 12:51:06 -07:00
2008-07-05 11:24:40 -07:00
2008-11-11 12:55:42 -08:00
2008-07-01 17:20:15 -07:00
2009-01-13 00:18:53 -08:00
2008-08-01 23:21:44 -07:00
2009-05-13 21:06:11 -07:00
2008-12-19 19:10:46 -08:00
2008-08-01 23:21:44 -07:00
2008-12-09 20:57:52 -08:00
2008-12-09 20:57:52 -08:00
2008-12-09 20:57:52 -08:00
2008-08-01 23:21:44 -07:00
2008-12-09 20:57:52 -08:00
2009-03-26 09:38:58 -07:00
2009-04-12 15:19:12 -07:00
2009-05-24 11:21:05 -07:00
2008-07-01 17:20:15 -07:00
2009-05-16 10:28:59 -07:00
2008-07-01 17:20:15 -07:00
2008-08-30 13:23:01 -07:00
2008-11-12 10:29:22 -08:00
2008-07-05 11:24:40 -07:00
2009-04-05 00:39:37 -07:00
2009-06-11 19:50:45 -07:00
2009-03-25 17:28:33 -07:00
2008-08-01 23:21:44 -07:00
2008-07-01 17:20:15 -07:00
2008-09-30 14:30:00 -07:00
2008-08-01 23:21:44 -07:00
2009-03-17 14:15:04 -07:00
2008-07-01 17:20:15 -07:00
2008-09-30 11:51:16 -07:00
2009-05-21 07:33:23 -07:00
2008-12-19 19:10:46 -08:00
2008-12-19 19:10:46 -08:00
2008-07-01 17:20:15 -07:00
2009-04-07 21:52:26 -07:00
2009-06-09 23:47:49 -07:00
2008-07-01 17:20:15 -07:00
2008-08-01 23:21:44 -07:00
2009-06-13 12:44:41 -07:00
2008-12-29 01:21:45 -08:00
2008-10-01 08:18:46 -07:00
2009-05-10 00:30:28 -07:00
2008-12-21 18:34:49 -08:00
2008-08-08 18:27:19 -07:00
2009-06-18 09:55:59 -07:00
2008-07-05 11:24:40 -07:00
2008-07-05 11:24:40 -07:00
2009-04-11 11:01:15 -07:00
2009-02-08 12:38:08 -08:00
2009-06-01 00:41:58 -07:00
2008-07-05 11:24:40 -07:00
2009-06-20 23:45:51 -07:00
2008-08-01 23:21:44 -07:00
2008-12-02 16:13:16 -08:00
2009-06-09 00:18:24 -07:00
2008-08-01 23:21:44 -07:00
2008-07-01 17:20:15 -07:00
2009-06-20 21:51:13 -07:00
2009-06-25 00:38:16 -07:00
2008-08-01 23:21:44 -07:00
2009-03-30 13:25:27 -07:00
2008-07-05 11:24:40 -07:00
2007-10-29 12:53:50 -07:00
2008-07-01 17:20:15 -07:00
2008-07-01 17:20:16 -07:00
2008-12-19 19:10:46 -08:00
2008-07-01 17:20:15 -07:00
2009-04-25 09:29:38 -07:00
2008-07-05 11:24:40 -07:00
2008-07-05 11:24:40 -07:00
2008-09-03 14:51:19 -07:00
2008-08-01 23:21:44 -07:00
2008-07-30 21:42:55 -07:00
2008-09-24 15:49:21 -07:00
2008-08-01 23:21:44 -07:00
2008-07-05 11:24:40 -07:00
2009-06-21 23:50:17 -07:00
2009-04-17 21:28:07 -07:00
2009-03-17 14:16:44 -07:00
2009-01-13 00:18:53 -08:00
2009-04-20 13:45:02 -07:00
2008-09-19 19:48:30 -07:00
2008-11-14 21:48:10 -08:00
2009-03-22 12:29:47 -07:00
2009-04-07 21:58:25 -07:00
2009-03-03 21:42:44 -08:00
2009-06-03 00:09:16 -07:00
2008-12-17 00:57:33 -08:00
2009-01-21 00:15:34 -08:00
2009-06-06 13:30:41 -07:00
2008-10-20 23:39:37 -07:00
2009-04-07 22:04:41 -07:00
2008-12-19 19:35:55 -08:00
2008-07-08 16:36:03 -07:00
2007-12-14 22:29:38 -08:00
2009-03-17 12:08:43 -07:00
2009-04-28 11:50:18 -07:00
2009-03-27 00:33:19 -07:00
2009-04-01 11:02:42 -07:00
2009-03-27 00:33:20 -07:00
2009-03-27 00:33:19 -07:00
2009-04-01 11:02:42 -07:00
2009-05-24 11:21:05 -07:00
2009-05-25 11:23:18 -07:00
2009-03-25 17:28:33 -07:00
2009-03-22 21:32:13 -07:00
2009-02-24 23:53:40 -08:00
2009-01-25 22:25:20 -08:00
2007-03-04 17:20:38 -08:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00
2007-04-03 19:27:41 -07:00
2007-04-18 12:39:04 -07:00
2007-04-21 13:57:07 -07:00
2007-06-07 00:04:01 -07:00
2007-05-08 22:11:17 -07:00
2007-05-20 00:15:53 -07:00
2007-05-20 00:15:53 -07:00
2007-04-03 22:47:01 -07:00
2007-06-02 16:02:49 -07:00
2009-03-03 21:40:36 -08:00
2007-07-02 00:35:58 -07:00
2007-07-12 12:01:47 -07:00
2007-08-15 15:01:20 -07:00
2008-08-05 11:38:11 -07:00
2007-09-03 01:28:37 -07:00
2007-09-19 03:11:28 -07:00
2008-01-29 22:00:34 -08:00
2007-10-03 02:33:48 -07:00
2007-11-07 11:37:15 -08:00
2007-11-18 14:00:38 -08:00
2007-12-01 11:20:00 -08:00
2008-01-07 22:41:43 -08:00
2008-08-05 11:38:11 -07:00
2008-02-17 00:20:38 -08:00
2008-02-17 00:20:38 -08:00
2008-02-23 11:31:04 -08:00
2008-08-05 11:38:11 -07:00
2008-08-05 11:38:11 -07:00
2008-06-26 17:11:21 -07:00
2008-12-16 22:06:47 -08:00
2008-02-01 19:10:10 -08:00
2008-04-20 11:36:53 -07:00
2008-05-25 21:11:24 -07:00
2008-05-27 22:32:47 -07:00
2008-06-07 11:45:48 -07:00
2008-06-26 17:59:51 -07:00
2008-12-16 22:08:28 -08:00
2008-04-07 21:57:43 -07:00
2008-06-25 17:13:48 -07:00
2008-07-04 01:38:41 -07:00
2008-07-13 15:23:43 -07:00
2008-07-19 10:58:01 -07:00
2008-08-06 13:40:53 -07:00
2008-12-16 22:13:36 -08:00
2008-06-18 13:09:43 -07:00
2008-08-24 14:47:24 -07:00
2009-03-03 21:40:36 -08:00
2008-10-21 13:37:42 -07:00
2008-11-27 01:00:45 -08:00
2008-12-07 15:11:54 -08:00
2008-12-19 19:27:35 -08:00
2008-08-17 11:42:10 -07:00
2009-03-03 21:40:36 -08:00
2009-03-03 21:40:36 -08:00
2009-02-07 00:51:47 -08:00
2009-05-03 15:29:31 -07:00
2008-12-24 19:41:08 -08:00
2009-03-15 13:05:05 -07:00
2009-04-02 12:34:16 -07:00
2009-04-12 15:57:58 -07:00
2009-04-19 17:34:26 -07:00
2009-05-03 16:54:14 -07:00
2009-03-03 23:37:19 -08:00
2009-05-12 22:30:29 -07:00
2009-06-03 22:47:48 -07:00
2009-06-21 21:15:50 -07:00
2009-05-06 18:16:40 -07:00
2009-05-25 19:46:17 -07:00
2009-04-07 22:08:13 -07:00
2009-04-28 00:40:00 -07:00
2009-06-09 23:46:47 -07:00
2009-02-04 13:06:06 -08:00
2008-01-06 18:41:44 -08:00
2009-05-30 22:21:29 -07:00