diff options
| author | schu <schu-github@schulog.org> | 2011-06-14 15:16:43 +0200 |
|---|---|---|
| committer | schu <schu-github@schulog.org> | 2011-07-06 12:25:27 +0200 |
| commit | 0ffcf78a30377971d4928439ae387396b3922cbf (patch) | |
| tree | 45ffc20bdba3bb90dca8ea8c322ef20cd27fcd5f /src/fileops.c | |
| parent | 7ea50f6077d0da28a471e8de2dc32dcdc994c5c6 (diff) | |
| download | libgit2-0ffcf78a30377971d4928439ae387396b3922cbf.tar.gz | |
reference_rename: git compliant reference renaming
So far libgit2 didn't handle the following scenarios:
* Rename of reference m -> m/m
* Rename of reference n/n -> n
Fixed.
Since we don't write reflogs, we have to delete any old reflog for the
renamed reference. Otherwise git.git will possibly fail when it finds
invalid logs.
Reported-by: nulltoken <emeric.fermas@gmail.com>
Signed-off-by: schu <schu-github@schulog.org>
Diffstat (limited to 'src/fileops.c')
0 files changed, 0 insertions, 0 deletions
